Re: Updating Lyx

2024-09-09 Thread Alex Boche
It worked out smoothly. Thanks guys.

On Mon, Sep 9, 2024 at 3:01 PM Alex Boche  wrote:

> I'd like to update to the latest version of Lyx (2.4) in order to use the
> new counter manipulation feature
> <https://wiki.lyx.org/LyX/NewInLyX24#counters>.
>
> But I have a potentially delicate configuration in my current version that
> I cannot afford to mess up. What is the recommended way to install the new
> version without screwing up the old version, and allowing to revert to the
> old version if necessary?
>
> Currently on Lyx 2.3.3 and Mac OS 14.6.1.
>
> Thank you,
> Alex
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Updating Lyx

2024-09-09 Thread Alex Boche
I'd like to update to the latest version of Lyx (2.4) in order to use the
new counter manipulation feature
<https://wiki.lyx.org/LyX/NewInLyX24#counters>.

But I have a potentially delicate configuration in my current version that
I cannot afford to mess up. What is the recommended way to install the new
version without screwing up the old version, and allowing to revert to the
old version if necessary?

Currently on Lyx 2.3.3 and Mac OS 14.6.1.

Thank you,
Alex
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Numbering optimization problem overall and specific lines

2024-09-01 Thread Alex Boche
Got it. Oh right, the visible number might be nice, but the referencing is
the main thing.

On Sun, Sep 1, 2024 at 11:43 AM Richard Kimberly Heck 
wrote:

> On 9/1/24 12:33 PM, Alex Boche wrote:
>
> I did find a solution. [I wasn't sure of the etiquette as far as closing a
> solved thread.]
>
> It's helpful, in case someone else has the same issue. Even months later,
> and searches the list.
>
> The key is to put a label inside the Subequation box but outside the math
> environment. Then put labels on individual lines the math environment.
> Then you can reference either the whole subequation (e.g. 1) or individual
> lines (e.g. 1.1, 1.2, etc.).
>
> I thought you had wanted there to be a visible number for the whole thing.
> I'm not sure I'd have figured out the solution anyway, though.
>
> Riki
>
>
>
>  On Sun, Sep 1, 2024 at 11:24 AM Richard Kimberly Heck 
> wrote:
>
>> On 8/23/24 2:34 PM, Alex Boche wrote:
>> > Hi,
>> >
>> > Lyx newbie here.
>> >
>> > I'd like to write an optimization problem with an objective on the
>> > first line and constraints on subsequent lines (picture below).
>> >
>> > But I'd like a number label on the full problem and separate number
>> > labels on some (or all) lines. What is the best way to do this in Lyx?
>> >
>> > I see some stuff about Subequations in the manual but I don't see how
>> > to get the number for the whole problem, in addition to the lines.
>>
>> The subequation stuff is a bit of a hack. Honestly, I don't know how to
>> do this even in LaTeX; I suspect that LyX will not natively support
>> whatever the solution might be. Complex constructs sometimes have not
>> been implemented, just because no-one yet found a need.
>>
>> Riki
>>
>>
>>
>>
>
> --
> 
> Richard Kimberly (Riki) Heck
> Professor of Philosophy and Professor of Linguistics
> Brown University
>
> Pronouns: they/them/their
> Website:  http://rkheck.frege.org/
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Numbering optimization problem overall and specific lines

2024-09-01 Thread Alex Boche
I did find a solution. [I wasn't sure of the etiquette as far as closing a
solved thread.]
The key is to put a label inside the Subequation box but outside the math
environment. Then put labels on individual lines the math environment.
Then you can reference either the whole subequation (e.g. 1) or individual
lines (e.g. 1.1, 1.2, etc.).



On Sun, Sep 1, 2024 at 11:24 AM Richard Kimberly Heck 
wrote:

> On 8/23/24 2:34 PM, Alex Boche wrote:
> > Hi,
> >
> > Lyx newbie here.
> >
> > I'd like to write an optimization problem with an objective on the
> > first line and constraints on subsequent lines (picture below).
> >
> > But I'd like a number label on the full problem and separate number
> > labels on some (or all) lines. What is the best way to do this in Lyx?
> >
> > I see some stuff about Subequations in the manual but I don't see how
> > to get the number for the whole problem, in addition to the lines.
>
> The subequation stuff is a bit of a hack. Honestly, I don't know how to
> do this even in LaTeX; I suspect that LyX will not natively support
> whatever the solution might be. Complex constructs sometimes have not
> been implemented, just because no-one yet found a need.
>
> Riki
>
>
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Numbering optimization problem overall and specific lines

2024-08-23 Thread Alex Boche
Hi,

Lyx newbie here.

I'd like to write an optimization problem with an objective on the first
line and constraints on subsequent lines (picture below).

But I'd like a number label on the full problem and separate number labels
on some (or all) lines. What is the best way to do this in Lyx?

I see some stuff about Subequations in the manual but I don't see how to
get the number for the whole problem, in addition to the lines.

Thanks,
Alex

[image: Screen Shot 2024-08-23 at 1.24.39 PM.png]
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Proof Appendix: Looking for paid support

2023-08-29 Thread Alex Boche
*Solved.*

On Mon, Aug 28, 2023 at 10:03 AM Alex Boche  wrote:

> Hi there,
>
> I'm trying to create a proof appendix in Lyx that repeats the
> theorem/proposition/lemma statements from main text and then includes the
> proof. I wnat the numbering to be the same in the main text and appendix,
> and I want hyperlinks to and from the main theorem to appendix version.
>
> I've tried following the instructions on some tex stack exchange
> <https://tex.stackexchange.com/questions/519867/restate-theorems-in-lyx>
> posts
> <https://tex.stackexchange.com/questions/195296/appendix-section-numbering-that-mimicks-theorem-numbers?rq=1>,
> but I couldn't get it to work. I'd like to hire someone for a quick
> screenshare lesson to get this working.
>
> I'm offering $50 to get it done. If you are willing to do it only for a
> higher amount, please let me know, and I will consider it. Should be pretty
> fast if you know what you're doing.
>
> Thank you,
> Alex
>
>
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Proof Appendix: Looking for paid support

2023-08-28 Thread Alex Boche
Hi there,

I'm trying to create a proof appendix in Lyx that repeats the
theorem/proposition/lemma statements from main text and then includes the
proof. I wnat the numbering to be the same in the main text and appendix,
and I want hyperlinks to and from the main theorem to appendix version.

I've tried following the instructions on some tex stack exchange
<https://tex.stackexchange.com/questions/519867/restate-theorems-in-lyx>
posts
<https://tex.stackexchange.com/questions/195296/appendix-section-numbering-that-mimicks-theorem-numbers?rq=1>,
but I couldn't get it to work. I'd like to hire someone for a quick
screenshare lesson to get this working.

I'm offering $50 to get it done. If you are willing to do it only for a
higher amount, please let me know, and I will consider it. Should be pretty
fast if you know what you're doing.

Thank you,
Alex
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


change window focus with shortcuts.

2022-01-04 Thread alex via lyx-users

Hello all.


I'm not a completely new user to Lyx, but I have a challenge I hope 
someone can help with.



I'd like to switch focus from the main window when writing text, to the 
spellchecker sidebar, then back, using only shortcuts. I cannot for the 
life of me find a command, or shortcut to do this. I can open the 
spellchecker using F7, but i then have to use the mouse to switch focus, 
and back again. I've been through the XFCE docs, and what docs there are 
for Lyx on shortcuts, but no luck.



This probably something blindingly simple, but i've yet to see it.


Any help would be appreciated.


Alex.

--
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX efficient language/spell-check toggle

2015-08-19 Thread alex
I have managed to write a serviceable script that uses LyX server and 
LFUNs and toggles between languages only with the shortcut Alt + Shift. 
I am quite pleased with the result, but I have come up with a slight 
improvement, that can be achieved by tracking the current language used 
to spell check in LyX. However, all the LFUNs seem to be 
"one-directional", that is they transfer information from the external 
application to LyX. Is there a way (for example, a get-language LFUN 
that I am missing) to echo the current LyX language in the terminal, so 
that I can use it in a script?


Cheers.


Re: LyX efficient language/spell-check toggle

2015-08-18 Thread alex



Thanks, Richard.

That seems like a step in the right direction.
In the LyX functions user guide I indeed read about command sequences.
One interesting point is that you can toggle between languages using the
language lfun,
with no arguments.
However, I still cannot find a way for a single shortcut to do exactly
what I want.
That is because LyX does not capture shortcuts used for system keyboard
layout toggle.
So, it's not possible to set a shortcut of Alt + Shift -> language toggle.
I would not mind having to use another shortcut, as long as it's only 1,
to have the appropriate results.
For example, something like that would require an lfun sequence like:
 ; .
I still cannot achieve the layout toggle.
I checked out keyboard mappings a bit, but to no avail.

Another thing that caught my eye is that you can control LyX from other
programs using lfuns.
So, I though as a last resort solution to write a bash script that
senses the layout toggle and sends
the appropriate lfun to LyX. However, in the lfuns manual, I only found
a small reference to that feature
at the beginning. Is there any detailed documentation about this?

Cheers.






On 08/18/2015 11:21 PM, Richard Heck wrote:

On 08/18/2015 12:39 PM, alex wrote:

Hello everyone.

I have been using LyX as my LaTeX editor of choice for quite some
time now, and I have found it to be quite helpful. I have also
managed to set up spell checking for both the languages that I am
interested in, English and Greek. However, the way that I currently
toggle between those languages is quite inconvenient. That is, I use
Alt + Shift to toggle between languages (as I usually do), which
achieves the transition from one language to another. However, that's
not enough to get LyX to toggle to the latter language. LyX keeps
spell-checking using the former language. I have to use a second
keyboard shortcut to get LyX to switch languages, as far as
spell-checking goes. For example, I have to use 2 keyboard shortcuts
in order to go from writing English characters with English
spell-checking to writing Greek characters with Greek spell-checking,
and vice versa. Obviously, those are one too many shortcuts.

So, my question is: can LyX be configured so that toggling between
languages is made by one keyboard shortcut, or maybe so that LyX
senses the keyboard layout (GR or US) in use and spell-checks
appropriately?


A single shortcut can do more than one thing, if you use the
command-sequence LFUN. E.g., Ctrl-Alt-A is bound to:
command-sequence buffer-begin ; buffer-end-select
which has the effect of selecting the whole buffer.

See the documentation for command-sequence under Help> LyX Functions.

Richard







LyX efficient language/spell-check toggle

2015-08-18 Thread alex

Hello everyone.

I have been using LyX as my LaTeX editor of choice for quite some time 
now, and I have found it to be quite helpful. I have also managed to set 
up spell checking for both the languages that I am interested in, 
English and Greek. However, the way that I currently toggle between 
those languages is quite inconvenient. That is, I use Alt + Shift to 
toggle between languages (as I usually do), which achieves the 
transition from one language to another. However, that's not enough to 
get LyX to toggle to the latter language. LyX keeps spell-checking using 
the former language. I have to use a second keyboard shortcut to get LyX 
to switch languages, as far as spell-checking goes. For example, I have 
to use 2 keyboard shortcuts in order to go from writing English 
characters with English spell-checking to writing Greek characters with 
Greek spell-checking, and vice versa. Obviously, those are one too many 
shortcuts.


So, my question is: can LyX be configured so that toggling between 
languages is made by one keyboard shortcut, or maybe so that LyX senses 
the keyboard layout (GR or US) in use and spell-checks appropriately?


This is an issue that has been bothering me for quite some time, and any 
help would be very much appreciated.


I believe it's irrelevant, but right now I am working on a Linux Mint 
system. However, I have faced the same issue in windows.


I have already posted the same question on the latex forums, on the LyX 
section, but after that realized that LyX has a mailing list, so I 
figured I would try my luck here as well.


Cheers.


about python3 and lyx

2014-10-08 Thread Alex Vergara Gil
Hi lyxers!

 

I have lyx 2.1.2 in both Windows 7 x64 and Ubuntu 14.04 x64, it runs fine
when installing. Now my work depends a lot on python, specifically on python
3.4 which is the default in both of my systems. I have managed to run python
scripts within lyx and then the problem arises: lyx have its own bundled
python distribution in windows, so every python script runs in the bundled
version which is python 2.7, so my scripts doesn´t run on windows. I tried
to change the default python version in lyx so it is forced to us python3
and then it crashed because a lot of its default scripts doesn´t run anymore
(ie, the reconfigure.py script). I know in linux there is both python 2.7
and 3.4 living together and you can select between them, but in windows I
can´t manage to achieve this behavior.

 

My questions are exclusive (or not)

 

1.   Is there a plan to move everything to python3 so we can finally
forget the old python2?

Or

2.   Is there a way to have both python3 and bundled python version in
lyx living together in windows? Any hints?

 

Best Regards

 

Descripción: firma_Alex

Alex Vergara Gil

MSc Nuclear Physics

Center for Radiation Protection and Hygiene

Secondary Standard Dosimetry Laboratory

Havana, Cuba

 



RE: figure covering two pages

2014-06-30 Thread Alex Vergara Gil
> -Mensaje original- De:  Wolfgang Engelmann Enviado el: Lunes, 30
de Junio de 2014 08:19 p.m.
> 
> Am 30.06.2014 19:21, schrieb Alex Vergara Gil:
> > Open the figure in Krita/GIMP
> > create two new figures by cutting the original in two halves insert
> > each half into a new graphic, using fit 100% to page and definitively
> > here as position
> Thanks, Alex,
> The upper half of the figure is rather broad, it therefore is not reaching
the
> lower rim of the page, not to speak of the legend. This should be placed
> underneath the second part of the figure on the page opposing the first
part.
> Proposals?
> Wolfgang
> 
Yes I forgot to mention to rotate the two halves by 90 degres so they will
fit your page, sorry!




RE: figure covering two pages

2014-06-30 Thread Alex Vergara Gil
> -Mensaje original- De: Wolfgang Engelmann Enviado el: Lunes, 30 de
Junio de 2014 05:55 p.m.
> 
> How can I insert a large figure which expands over two pages?
> I use Debian and Koma script book style A5 format.
> The figure should be landscape on both pages Wolfgang
> 

Open the figure in Krita/GIMP
create two new figures by cutting the original in two halves
insert each half into a new graphic, using fit 100% to page and definitively
here as position

good luck!
Alex



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

2014-06-12 Thread Alex Vergara Gil
- Original Message - From: "Ross Reyes"  Sent: 
Thursday, June 12, 2014 12:50 PM


On 6/11/2014 12:41 PM, Rainer M Krug wrote:


Envoyé de mon iPhone


Le 11 juin 2014 à 16:07, Ross Reyes  a écrit :


Hi Alex,

I still get the "error converting to loadable format" message.

I can run the python script from the command line and it does work.   I 
can
and have modified the .pygr script to produce other outputs in .png, 
.jpg, .ps, etc.

without problem.


If the scripts work fine outside LyX then your problem is with your LyX 
instalation. The only thing I can suggest is to update at least to version 
2.0.3 which is the one I have tested in my debian system.




But inside LyX, regardless of what I do to define the converter,  I can 
not get the image

to render nor can I produce a .pdf output from the LyX doc.

Something is not right.   I am using LyX 2.0.1
The converters are defined in the configuration file LyX. If you could 
take a loom at it and post the lines where you file formats and the 
converters are defined, one could see if there is something wrong. I 
don't have LyX at hand, so I can't give you the location of the config 
file.


Cheers,

Rainer

Hi Rainer,   I have this in my preferences file for pygr fomat and 
converter.


#
# FORMATS SECTION ##
#

\format "pdf4" "pdf" "PDF (xelatex)" "" "" "" 
"document,vector,menu=export"

\format "pygr" "pygr" "Python Graphics" "" "auto" "auto" "vector"
\default_view_format ps

#
# CONVERTERS SECTION ##
#

\converter "pdflatex" "pdf4" "xelatex $$i" "latex=pdflatex"
\converter "eps" "png" "epstopng.bat $$i" ""
\converter "pygr" "png" "python $$i $$o" ""



All of this seems ok, take into account that if you are on Windows the 
correct converter line should be

\converter "pygr" "png" "python -tt $$i $$o" ""

but it would be better if you to have
\converter "pygr" "eps" "python $$i $$o" "" on Linux
\converter "pygr" "eps" "python -tt $$i $$o" "" on Windows 



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

2014-06-10 Thread Alex Vergara Gil
  - Original Message - From: Wolfgang Engelmann Sent: Tuesday, June 10, 
2014 2:19 PM

  Thanks, Alex, for the new lyx file. I now realized, that I had to load the 
matplotlib and pandas packages, which I did. I followed your advices 
  Define a new file format in tools>preferences, name it Python graphics, 
extension pygr and vector image format ticked
  Define a new converter from the format Python graphics to the format EPS as 
...
  After reconfigure (necessary?) and making sure the two example graphics (in 
pygr format) are found in the path I get this error
No, reconfigure is not necessary
  LaTeX Warning: File `0_home_we_Lyx_PhytonGraphics_example.eps' not found on 
input line 83.
  Why is it expecting an eps file instead of taking the pygr files?
indeed a eps file is expected
  What am I missing?
  Wolfgang
Did you can see the graphic within LyX? Did LyX display it correctly in your 
system? if not the case check that the example script is located at the same 
path than the lyx file, another way is to click in the inserted graphic and 
look for the example.pygr path

Another possible explanation is that your system doesn't handle with eps, in 
this case you should change the definition and instead of eps, put pdf or png 
as final format, whichever work for you, you can check that because it will 
display the graphic within LyX even before you export anything!

Regards
Alex

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
  - Original Message - From: "Rainer M Krug" Sent: Tuesday, June 10, 
2014 9:09 AM
  OK - spreadsheets work via the "external documents". But have you found
  a way of including "normal" txt files as verbatim? One could always use
  good old ert
  (e.g. http://www.tex.ac.uk/cgi-bin/texfaq2html?label=verbfile)

  But this would not provide preview.

  Rainer
No, no preview in the case of text I fear. It should be implemented in the LyX 
code. Developers should handle this kind of things, if they already support 
image preview, why not supporting external material preview as well? They 
should answer this. TAIK!
Cheers
Alex

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil

Better than ever
I've found that the pandas package in python handles with excel files and 
produces tables in csv too, so it can be used to read excel files as input, 
process a little and output csv tables which can be read by LyX as external 
documents (child)

The panorama becomes interesting!
Alex




Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
  - Original Message - From: "Rainer M Krug"  Sent: 
Tuesday, June 10, 2014 3:26 AM

  Hi

  In the thread "Python Graphics in LyX" it was shown nicely how other
  programming languages can be used to include grahics generated by these
  into a LyX Document. That made me thinking: How can I do the same for
  text files generated by these external code blocks?

  Obviously, this depends on the format of the text (ascii, LaTeX,
  others?). What would be the workflow? Does the text has to be in a file
  (I assume) or could it be redirected directly into LyX?

  Somehow I have the feeling I am missing something trivial here...

  Cheers,

  Rainer
Indeed! It can be produced as well, just define a python normal text file 
format type (as pytxt) and in the converter just add from the pytxt format to 
simple text format as python $$i $$o
in the python script you have to output everything to a text file using the 
lines
import sys
outputfile = open(sys.argv[1])
outputfile.write('testing')
outputfile.close

Voilá! it works with text too
Moreover in the converter you can define a csv output format and python handles 
well with csv, so I give you the rod, now fish something ;)

Cheers, Alex

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

2014-06-10 Thread Alex Vergara Gil
Dear all

I have rewritten a little the procedure using recommendations from several 
users that doesn´t understand the original one. I hope this time everyone can 
understand the procedure.

Regards
Alex
  - Original Message - 
  From: Wolfgang Engelmann 
  To: lyx-users@lists.lyx.org 
  Sent: Tuesday, June 10, 2014 2:56 AM
  Subject: Re: Python Graphics in LyX [was: Python bindings]


  I retryed again and now got the PythonGraphics>LyX converter after 
reconfiguring, but running it gives me:


  LaTeX Warning: File `0_home_we_Lyx_PhytonGraphics_example.pdf' not found on 
inp

  ut line 80.
  shouldn't it load example.pygr, which I selected in my folder PhytonGraphics 
containing all the files supplied by Alex?
  Do I have to use instead of view>pdflatex something else for export?
  Wolfgang








  ! Package pdftex.def Error: File `0_home_we_Lyx_PhytonGraphics_example.pdf' 
not

  found.




  See the pdftex.def package documentation for explanation.

  Type H  for immediate help.

  ... 

  Am 10.06.2014 09:00, schrieb Wolfgang Engelmann:


Am 09.06.2014 21:42, schrieb Alex Vergara Gil: 

 - Original Message - 
 From: Wolfgang Engelmann 
 To: lyx-users@lists.lyx.org 
 Sent: Monday, June 09, 2014 12:55 PM 
 Subject: Re: Python Graphics in LyX [was: Python bindings] 


 where in lyx is this done?--> 
 Define a new converter from Python graphics to EPS as 

 python $$i $$o 

 Wolfgang 


  If you have followed the little manual you know in tools - preferences 
there is two options, one that says file types and the other says converters 
  in the first you define the Python graphics file type 
  in the second you define the converter 

  regards 
  Alex 



  Thanks Alex, still not there. 



  First: Could one change in the instruction of the PythonGraphics.lyx 
  Define a new file format, name it Python graphics, extension pygr and 
vector image format ticked 
  to: Define a new file format in tools>preferences, name it Python 
graphics, extension pygr and vector image format ticked 



  Second: in Converters - Converter Definitions I guess I have to add 
python $$i $$o in the Converter: line. However, Add on the right side of the 
Converter Definitions is greyed out. So, how do I do that? 



  Wolfgang 






  __ Información de ESET NOD32 Antivirus, versión de la base de firmas 
de virus 9900 (20140605) __

  ESET NOD32 Antivirus ha comprobado este mensaje.

  http://www.eset.com


Python Graphics.lyx
Description: Binary data


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

2014-06-09 Thread Alex Vergara Gil

  - Original Message - 
  From: Wolfgang Engelmann 
  To: lyx-users@lists.lyx.org 
  Sent: Monday, June 09, 2014 12:55 PM
  Subject: Re: Python Graphics in LyX [was: Python bindings]


  where in lyx is this done?-->
  Define a new converter from Python graphics to EPS as

  python $$i $$o

  Wolfgang


If you have followed the little manual you know in tools - preferences there is 
two options, one that says file types and the other says converters
in the first you define the Python graphics file type
in the second you define the converter

regards
Alex

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

2014-06-09 Thread Alex Vergara Gil
- Original Message - From: "Kornel Benko" Sent: Monday, June 09, 2014 
8:40 AM

Am Montag, 9. Juni 2014 um 08:07:16, schrieb Alex Vergara Gil 
> Dear Lyxers!
> 
> Studying a little of python and LyX I have reached to this feature that makes 
> LyX show and process python graphics. Thanks to Rainer M Krug for the hints. 
> I share this contribution for LyX under LGPL license, so everyone benefits 
> from it. Good luck and happy lyxing!
> 
> Alex Vergara Gil
> MSc Nuclear Physics
> SSDL, CPHR, Havana Cuba
> 
> PS: If Rainer agree, pass him from acknowledgements to author list, please.

  Trying
   # python example.pygr x.eps
  I saw, I had to install matplotlib and pandas. Thats OK, this example shows 
now in lyx too.
  Fortunately it was included in debian package manager.
Indeed, to obtain python graphics matplotlib is required, pandas is a robust 
library to handle with complex data. Both are in any package manager. The fact 
that this displays in lyx too is a very nice extra. My first intention was to 
have a module that insert python code and executes it, but this way is far 
simpler and reaches the same objective.
  But the try
   # python example2.pygr x.eps
  leads to
   ImportError: No module named seaborn
  After installing also python-pip and using
   # sudo pip install seaborn
  I got the expected output.
  This should be documented somewhere I think.
  Nice work.
   Kornel
In this case my intention was to show that any other python library can be used 
as well, and it is expected a little knowledge of python from the user, since 
it is the user itself who will build its own graphic script. But your hint is 
valid, it should be documented how to obtain extra python packages too.

Regards
Alex

Re: [Feature Request] python binding

2014-06-02 Thread Alex Vergara Gil
This might work!! Thanks for the suggestions, I will try it extensively and 
I will comments my experiences afterwards. It seems it also renders the 
graphic inside LyX itself! That's what I was talking about.


Regards
Alex

- Original Message - 
From: "Rainer M Krug" 

To: "Alex Vergara Gil" 
Cc: "Richard Heck" ; "lyx-users Users" 
; 

Sent: Monday, June 02, 2014 8:31 AM
Subject: Re: [Feature Request] python binding

I just add comments inline


Let's see if I understand:


-1. You define a *file type* in LyX under
 Preferences > File Handling > File Formats
for the file type .pygr in which "Vector graphics format" is ticked!

0. You define a converter under
 Preferences > File Handling > Converters
which calls a script which executed files with the extension .pygr and
generates, as you suggest below, an svg.


1. I wrote a python script that produces the graphic I want


Exactly - and you give it a specific extension .pygr for "python
script which generates a graphic" which you defined above.


2. I insert it in LyX somehow I don't know, perhaps defining a
converter from .py to svg, but this needs to be inside a module or
every python script in LyX will try to be converted into a svg!! So a
module is also needed


Use insert graphic and select *your .pygr* file as graphic - and Lyx
will do the rest of the conversion - i.e. use your converter to convert
the .pygr to an svg and other existing converters to generate the png
for the preview and the pdf / eps / ... for the final copmpilation of
the document.


3. LyX is the one who knows the correct size of the graphic so in
principle if I produce a svg should be enough but in this way I need
to produce a new svg every time the data change


Correct - if the input data changes, you have to generate the graph again
manually, or, if the "Converter file cache" is disabled, you just have
to close the document and open it again.

Hope this helps,

Rainer



Re: [Feature Request] python binding

2014-06-02 Thread Alex Vergara Gil
From: "Richard Heck" 
Sent: Thursday, May 29, 2014 5:05 PM
>> I might be *completely* off, but couldn't you achieve exactly this via
>> defining converters? I have for example a converter defined, which
>> "converts" plantuml source fields into uml graphs, i.e. it defines the
>> call to compile them and return the graphs which are then inserted in
>> the document?
> 
> Yes, that's more or less what I was suggesting.
> 
> rh
> 

Let's see if I understand:
1. I wrote a python script that produces the graphic I want
2. I insert it in LyX somehow I don't know, perhaps defining a converter from 
.py to svg, but this needs to be inside a module or every python script in LyX 
will try to be converted into a svg!! So a module is also needed
3. LyX is the one who knows the correct size of the graphic so in principle if 
I produce a svg should be enough but in this way I need to produce a new svg 
every time the data change

Take this simple script as example

import numpy as np
from numpy.random import randn
import matplotlib as mpl
import matplotlib.pyplot as plt
np.random.seed(9221999)
data = randn(75)
plt.hist(data)

which produce a graphic like this in spyder



So basically I save this graphic to a svg and then I load it into LyX, but why 
not letting LyX doing this automatically if it already handles with python?? 
This is my question.

Regards

Alex

Re: [Feature Request] python binding

2014-05-29 Thread Alex Vergara Gil

  From: Richard Heck 
  Sent: Thursday, May 29, 2014 3:26 PM


  On 05/29/2014 03:36 PM, Alex Vergara Gil wrote:

Hello Lyxers

I wonder why LyX is not available to process little pieces of python code 
within its own framework, like ipython notebook for instance??


This feature allows us to have beautiful graphics such the one produced by 
matplotlib package. I know there already exists a similar binding for R through 
knitr module, so why not a binding for python too??

Is there a way, like modules or whatever, to achieve the same functionality 
or at least some basic functionality of ipython notebook within LyX??
  Can you be more precise about what you want to do? I've never heard of 
ipython notebook.
sudo aptitude install ipython-notebook
ipython notebook

and there you can write even thesis in a web environment with python commands 
being executed inlined, exporting to pdf and latex too, it is a wonder of our 
times, so why not letting LyX do this miracle too??

  Sweave works by our having an output format (sweave) for such documents and 
then our declaring Rscript as a sweave --> LaTeX converter, so PDF export (say) 
goes via Rscript and pdflatex. There's a special script in lib/scripts/ that 
"sets up some things for LyX" first, or so it claims. It would be reasonably 
easy to do the same sort of thing for Python, if you wanted to do so. You'd 
just need to set up an appropriate format and then declare an appropriate 
script as a whatever -> latex converter. Then LyX will run the script and do as 
you wish with the embedded python code.

  Of course, as we've discussed on the list with respect to R, there are large 
security issues here, too.

  Richard
you obviously miss the point here, or I was not very clear! it is not a 
different format, is a facility to have python scripts running within LyX 
framework, you have to see ipython notebook to understand what I mean, you will 
be surprised!!
Basically to build graphs, for instance (and only a piece of what can be done), 
you add the (let's call it) "knitpy" module and then place a knitpy insert, 
write some python code that produces a matplotlib graphic and then when lyx 
compiles the document, instead of the code it is shown the graph, it also can 
be done in the lyx editing window, but thats a more dificult request.

Regards
Alex

[Feature Request] python binding

2014-05-29 Thread Alex Vergara Gil

From: "Steve Litt" 
Sent: Thursday, May 29, 2014 2:35 PM

On Thu, 29 May 2014 14:36:29 -0500
"Alex Vergara Gil"  wrote:


Hello Lyxers

I wonder why LyX is not available to process little pieces of python
code within its own framework, like ipython notebook for instance??
This feature allows us to have beautiful graphics such the one
produced by matplotlib package. I know there already exists a similar
binding for R through knitr module, so why not a binding for python
too??

Is there a way, like modules or whatever, to achieve the same
functionality or at least some basic functionality of ipython
notebook within LyX??


Oh, if we're going consider requests for difficult additions to handle a
small subset of needs like beautiful graphics, how about filling the
GAPING HOLE that there's no practical way to export to ePub, without
massive human intervention and end-user programming? None of LyX's HTML
and xHtml exports are remotely suitable for flowing-text eBook
production, especially because different people have different ideas of
how eBooks should be built.


I don´t think this is a "dificult addition" since there is already a module 
that does something similar for what I've asked, knitr module does this but 
accepting R commands instead of python ones, so maybe the knitr author can 
put some light to this discussion. Again there should be no need to touch 
the code, just build a module similar to knitr that can be named "knitpy"


This is my original motivation


(...)
SteveT


Regards
Alex 



[Feature Request] python binding

2014-05-29 Thread Alex Vergara Gil
Hello Lyxers

I wonder why LyX is not available to process little pieces of python code 
within its own framework, like ipython notebook for instance??
This feature allows us to have beautiful graphics such the one produced by 
matplotlib package. I know there already exists a similar binding for R through 
knitr module, so why not a binding for python too??

Is there a way, like modules or whatever, to achieve the same functionality or 
at least some basic functionality of ipython notebook within LyX??

Regards
Alex Vergara
MSc Nuclear Physics
SSDL, CPHR, Havana, Cuba

Re: workaround enumerated lists

2014-04-11 Thread Alex Vergara Gil

  On Tuesday, April 08, 2014 9:32 PM, Richard Heck wrote:

On 04/08/2014 05:31 PM, Alex Vergara Gil wrote:

Dear lyxers!

Is there a better way to switch between enumerated lists from a); b) ... to 
1.; 2. ... and so on without the need of the tex hack 
\renewcommand{\labelenumi{alph | roman | arabic{enumi}} ) | . | .- | - }  ???
Shouldn't there exists a gui to handle this???

  The Customized Lists module contains some lists to do this. You can easily 
add more by following the same pattern. I'm attaching my hacked version.

  Richard
I have played with your hacked module and it is better than the one installed, 
but it lacks some features I need which I can do with tex hacks like sublists 
formating, ie:

\renewcommand{\labelenumi{arabic{enumi}}.-} 
\renewcommand{\labelenumii{alph{enumii}})} 
\renewcommand{\labelenumiii{roman{enumiii}}-} 

This provides the lists as following
1.- first item
a) sublist1
i- subsublist1
ii- subsublist2
b) sublist2
2.- second item

but I only see lists in your module, is there a way to add sublist formatting 
too?

Regards
Alex

workaround enumerated lists

2014-04-08 Thread Alex Vergara Gil
Dear lyxers!

Is there a better way to switch between enumerated lists from a); b) ... to 1.; 
2. ... and so on without the need of the tex hack 
\renewcommand{\labelenumi{alph | roman | arabic{enumi}} ) | . | .- | - }  ???
Shouldn't there exists a gui to handle this???

Regards

Alex

Re: Templates from LyX-207-Bundle-3 Windows Installer

2014-03-27 Thread Alex Vergara Gil


- Original Message - 
From: "José Alejandro Lugo García" 


-In Ubuntu repositories there are full LaTeX engine? If so, I will think 
about migrate completely and use LyX on that enviroment. Actually I 'm not 
doing that because the problem I have with accent in LyX version 2.0.2 
from my Ubuntu 12.04 already installed on my machine. But, if at Ubuntu 
14.04 will be put a latest version that solve most of my current problems 
then yes, I would love to use LyX on Ubuntu OS.


Bests,

José.


The accents problem is not a lyx issue, but wrong keyboard configuration, so 
even if you upgrade to the newest OS you will remain with that problem, so I 
recommend you to check your keyboard layouth been in spanish, any version 
(traditional sort, Latin American sort or Spain sort). That problem will 
vanish then. Even if you have an english keyboard you will have access to 
accents there.


Best
Alex 



Re: Templates from LyX-207-Bundle-3 Windows Installer

2014-03-24 Thread Alex Vergara Gil

Dear José
As you I don´t have full internet conection, but LyX works very well if you 
manage to install miktex correctly in your system, mainly miktex 2.9 which 
is the last version I have works as a charm.


Greetings and good luck
Alex

- Original Message - 
From: "José Alejandro Lugo García" 

To: 
Sent: Friday, March 21, 2014 8:16 PM
Subject: Templates from LyX-207-Bundle-3 Windows Installer



Hi:
I don’t have the possibility of a full internet connection, so with some 
help, I reached the LyX-207-Bundle-3 installer for Windows. Install perfect. 
All great until I try to open some templates from File/New from Template 
(see “ 0 showing_templates.png”). Sadly many templates from this collection 
shows “errors” with missing dependencies that needs to be downloaded from 
internet (see “1 Show_error.png”). This problem don’t happen with Lyx on 
Ubuntu 12.04, where it seems that all dependencies are downloading 
automatically from the OS repositories during the installation process.


¿What is the possibility to fix this for people like me who has not full 
connection to the internet from Windows?


Regards, José.

I Conferencia Científica Internacional UCIENCIA 2014 en la UCI del 24 al 26 
de abril de 2014, La Habana, Cuba. Ver http://uciencia.uci.cu





__ Informacin de ESET NOD32 Antivirus, versin de la base de firmas 
de virus 9568 (20140320) __


ESET NOD32 Antivirus ha comprobado este mensaje.

http://www.eset.com




Re: We need ePub/Mobi conversion: was: Book Frontmatter

2014-01-31 Thread Alex Fernandez
ts and containers to the configuration file.

Sadly, after 7 years, not using LyX anymore and with little help from LyX
developers (with some *laudable exceptions*) I can no longer justify myself
to devote any efforts to support eLyXer, not even a few hours to solve
reported issues with the latest formats. I am just not interested. My lack
of long-term support for eLyXer has thus become a self-fulfilling prophecy.

Anyway, I would suggest anyone who is working on any portion of a LyX
> to ePub conversion talk with me. I'm pretty knowledgeable about ePub,
> and I've already identified a lot of the dead ends and blind alleys in
> ePub creation, and I know what parts of the LyX document should go into
> the ePub, and which parts would be better re-done as either config or
> CSS.
>

If you are already conversant in Python, know ePub and are willing to do
the pretty boring task of translating between LyX and ePub, then you can
take eLyXer as the starting point to do the job. It can probably be done in
a few days:
- one to understand eLyXer internals,
- one to solve any stupid design errors that I may have made that make ePub
support hard, such as configure it to use a different base.cfg file,
- and one or two to recode all commands to output ePub.

I would encourage you to take eLyXer and run from there, but the high
probability that you will find strong opposition to integrate the resulting
converter into eLyXer will probably mean that your effort will mostly be
useful for you. So, my advice would be to keep away from it. If you are
still interested I can of course give you any support you need with the
source code.

My switch to Bluefish isn't cast in concrete: Once LyX contains a
> good, generic, reliable LyX to ePub or even LyX to "ePub friendly" Xhtml
> conversion, I can switch back. If you do it soon enough, I won't even
> have to write an Xhtml to LaTeX converter :-)
>

Again, good luck, whatever course you choose.

Alex.


Re: RCS on Mac OS X 10.9 Mavericks with Xcode 5.1 doesn't work

2013-11-11 Thread Alex Liberzon
Thanks, 

So the solution for Mac OS X Mavericks with Xcode 5 that doesn’t include RCS 
anymore is to download the GNU-RCS from this site: 

https://code.google.com/p/rudix-mountainlion/downloads/detail?name=rcs-5.9.0-0.pkg


and using Control-Click option, open and install the RCS.  Lyx version control 
works back for me. 

Best regards,
Alex


On Nov 11, 2013, at 9:32, Stephan Witt  wrote:

> Am 10.11.2013 um 20:54 schrieb Alex Liberzon :
> 
>> Hi, 
>> 
>> After few failures to use RCS on Mac OS X 10.9 Mavericks, 
>> I found on the Xcode release notes 
>> https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-
>> Xcode/#//apple_ref/doc/uid/TP40001051-SW241
>> 
>> this statement: 
>> The CVS and RCS source control tools have been removed from Xcode 5. 11968433
> 
> Removing CVS and RCS control from Xcode doesn't imply it's removed from LyX.
> 
>> Does anybody know how to get those working back? 
> 
> You have to provide the cvs and rcs executables to get it working.
> Perhaps you miss these command line tools now after going to 10.9 + Xcode 5.
> 
>> Isn't it about time to use Git for Lyx? 
>> Does anyone know how to use Git from Lyx 
>> ( I know how to use it in the command line)
> 
> 
> It's supported with the upcoming LyX-2.1 release.
> 
> Regards,
> Stephan



RCS on Mac OS X 10.9 Mavericks with Xcode 5.1 doesn't work

2013-11-10 Thread Alex Liberzon
Hi, 

After few failures to use RCS on Mac OS X 10.9 Mavericks, 
I found on the Xcode release notes 
https://developer.apple.com/library/ios/releasenotes/DeveloperTools/RN-
Xcode/#//apple_ref/doc/uid/TP40001051-SW241

this statement: 
The CVS and RCS source control tools have been removed from Xcode 5. 11968433

Does anybody know how to get those working back? 
Isn't it about time to use Git for Lyx? 
Does anyone know how to use Git from Lyx 
( I know how to use it in the command line)

Thanks
Alex



Re: LyX + CAS

2013-09-05 Thread Alex Vergara Gil


  > >> Unfortunately the two CAS able to interact with LyX in Win7 are paid.
  > >> Maybe there is also a workaround for Maxima, which would help the
  > >> freeware and open source cause :)

AFAIK, LyX is open source software, also Octave is open source, so why not 
supporting Octave as the standard CAS for LyX. The QtOctave works very good on 
Windows and it has a lot of compatibility with MatLab with a lot of plugins and 
interactions with Qt. I don´t think supporting a paid software is a good idea 
because we will be away of the GPL License.
Just my 2c

Alex

Re: Pasting graphics in LyX 2.1 beta on Mac

2013-09-02 Thread Alex Vergara Gil

  - Original Message - 

  I noticed when I had to paste some graphics with a lot of text that LyX (or 
rather the libraries used by LyX) seem to reduce the resolution of the pasted 
graphics (copied selection from Preview and pasted as a png-file in LyX). 
Anyone else experienced it, or could it be a setting somewhere in my 
environment? If so, does anyone have an idea of how to solve it (save the 
cropped file as a png in Preview of course works, but is several additional 
steps).

  All the best!
  Anders

The best you can do in these cases is save the graphic in svg format whenever 
posible. Otherwise you must edit your graphic on inkscape to add the text 
manually and then export it as svg. If you doesn´t go into vectorial graphics 
you will definetively lose resolution and then the text will look awful.

regards!
Alex





Re: formula numbering

2013-08-09 Thread Alex Vergara Gil

  El Viernes, 09 de Agosto de 2013 08:59 a.m., Richard Heck escribió:

  On 08/09/2013 09:42 AM, Alex Vergara Gil wrote:

I have written my MSc thesis in LyX and the way references are handled 
helps me a lot, but I got only one suggestion: when I set my own labels LyX 
also asigns a number to the equation which is automatically changed but doesn´t 
correspond to the "real" equation number that appears in the final text, so 
when I finally got about 120 pages written I detect one wrong equation and I 
have to spend a few time to detect which equation is in the LyX document 
because I didn´t find the equation 2.4 instead it was equation 17. So I think 
this behaviour is wrong and must be fixed.

  Do you remember what document class, etc, you were using? It sounds like it 
set "number equations by section", and the layout file did not know about that.

  Richard

The class I used was book (KOMA-Script) with the following preamble

% increase link area for cross-references and autoname them
\AtBeginDocument{\renewcommand{\ref}[1]{\mbox{\autoref{#1

\newlength{\abc}

\settowidth{\abc}{\space}

\AtBeginDocument{%

\addto\shorthandsspanish{

\renewcommand{\equationautorefname}{\hspace{-\abc}}

\renewcommand{\sectionautorefname}{sec.\negthinspace}

\renewcommand{\subsectionautorefname}{sec.\negthinspace}

\renewcommand{\subsubsectionautorefname}{sec.\negthinspace}

\renewcommand{\figureautorefname}{Fig.\negthinspace}

\renewcommand{\tableautorefname}{Tab.\negthinspace}

}

}




% in case somebody want to have the label "equation"

%\renewcommand{\eqref}[1]{equation~(\negthinspace\autoref{#1})}

\def\es@tablename{Ttabla}

\def\es@appendixname{Aanexo}




% that links to image floats jumps to the beginning

% of the float and not to its caption

\usepackage[figure]{hypcap}




% the pages of the TOC is numbered roman

% and a pdf-bookmark for the TOC is added

\let\myTOC\tableofcontents

\renewcommand\tableofcontents{%

\frontmatter

\pdfbookmark[1]{\contentsname}{}

\myTOC

\mainmatter }




% make caption labels bold

\setkomafont{captionlabel}{\bfseries}

\setcapindent{1em}




% enable calculations

\usepackage{calc}




% fancy page header/footer settings

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

\renewcommand{\sectionmark}[1]{\markright{\thesection\ #1}}




% increase the bottom float placement fraction

\renewcommand{\bottomfraction}{0.5}




% avoid that floats are placed above its sections

\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}


Re: formula numbering

2013-08-09 Thread Alex Vergara Gil
  El Jueves, 08 de Agosto de 2013 12:24 p.m., Richard Heck escribió:

   
  On 08/08/2013 01:19 PM, curtis osterhoudt wrote:

I *like* the way LyX handles it. I give my equations labels which 
_make_sense_ to me as a physicist---like "Poisson-Eqn"---not having to coddle 
to the structure of the paper. If I want to refer to the equation 20 pages 
later, I don't have to go back and find the number and adapt the label or the 
references, nor do I have to worry about renumbering if anything changes. The 
cross-reference system built into Lyx/LaTeX takes care of that. 


   My only objection is the (perhaps apocryphal, but lodged in my brain 
since I've used LyX for about a decade now) requirement/suggestion to put 
dashes in place of spaces in one's labels.

  Yes, LaTeX regards the space as separating tokens, and as things now are 
labels get entered as raw LaTeX, not as something that gets processed by LyX. 
So no spaces. That, however, would be easy to fix.

  Richard

I have written my MSc thesis in LyX and the way references are handled helps me 
a lot, but I got only one suggestion: when I set my own labels LyX also asigns 
a number to the equation which is automatically changed but doesn´t correspond 
to the "real" equation number that appears in the final text, so when I finally 
got about 120 pages written I detect one wrong equation and I have to spend a 
few time to detect which equation is in the LyX document because I didn´t find 
the equation 2.4 instead it was equation 17. So I think this behaviour is wrong 
and must be fixed.

Best Regards
Alex

Re: latex to lyx

2013-07-15 Thread Alex Vergara Gil

I'm new using lyx to write articles and  I found a perfect template for my
paper in this web for latex templates:

http://www.latextemplates.com/

My question is if anyone knows how to use them in lyx?

Thanks in advance

Miquel

You should name the template itself since there should be an equivalence 
already in lyx, or perhaps not, but somebody may already made the required 
module 



Re: Project's favorite license????

2013-07-05 Thread Alex Fernandez
Hi,

On Fri, Jul 5, 2013 at 9:58 PM, Liviu Andronic wrote:

> On Fri, Jul 5, 2013 at 6:50 PM, Steve Litt 
> wrote:
> > tex4ht and eLyXer, or the project's need to incorporate it. If my code
> > is good, and my code is licensed right, it very well could be that I or
> > someone else can tear chunks out of my code and put them in LyX or
> > eLyXer or make a shellscript or whatever.
> >
> I can easily imagine Alex, the author of eLyXer, accepting an ePub
> export switch in his converter.
>

I would be happy to. Just fork and send a pull request when you are ready
to:
  https://github.com/alexfernandez/elyxer/
That is how things work these days, and I cannot complain. Sadly I don't
have the time to do most things myself, but I have already received some
juicy pull requests and have integrated them happily.

As for the license, we can work things out to our mutual benefit. Open
source licenses are a means to an end.

Alex.


Re: document statistics

2013-06-14 Thread Alex Vergara Gil

Hello:

Occasionally it is necessary to count the total word or character number 
in a document.
Lyx has Tools->Statistics option for the document, but how can I make 
statistics that includes the text in the Bibliography which is not edited 
in lyx?


Thanks,

bcsikos

If is not edited in LyX there is no way LyX can count the words, so I use 
Okular to do this kind of things once the document is ready.


Alex 



Re: conflict between LyX and Gimp for the use of python

2013-05-22 Thread Alex Vergara Gil

On 11/05/2012 10:50 AM, Alex Vergara Gil wrote:


I have a system with windows 7 which have previously installed python
2.6 for the use of GIMP, this sofware do use python for a lot of things
so I cannot remove it from the system. I want to install LyX in this
system but when I do that all goes wrong because all the python scripts
refers to the python 2.6 already installed instead of the correct python
inside LyX


This should be fixed since a while. Please test it out by reinstalling LyX 
using the latest version.

Reopen bug
http://www.lyx.org/trac/ticket/8691
if you still have problems.

regards Uwe


Dear Uwe
This is an old message, nevertheless I have solved it by updating both GIMP 
and LyX to the newest versions so both now use the same python sources. 
Anyway if LyX still refer statically to python under it directory I see no 
reason for the conflict. I think this is an already solved bug.
Alex 



Re: feature request: ribbon menus

2013-04-05 Thread Alex Vergara Gil


- Original Message - 
From: "Jürgen Spitzmüller" 

To: 
Sent: Friday, April 05, 2013 11:16 AM
Subject: Re: feature request: ribbon menus




Well, this is an open source project. So if there are no license issues,
everybody who is motivated enough to implement and maintain such an UI is 
of

course allowed to go ahead and propose a patch.

This was my initial intention, but I was exploring in this list to see if 
there are some users who actually want this. Not the case, so the intention 
seems to have wrong fundations. My bad :(



At the moment, nobody seems to be really enthusiastic, so one consequence
could be that you do it yourself (this is actually exactly how I came into 
LyX

development).

Jürgen

I am learning Qt right now but I have some experience developing, especially 
with UI. My concept of a text editor software always include ribbon menus 
and thats why I shout this proposition, but without community acceptance any 
purpose is a nonsense! So next time will be.


Alex



Re: feature request: ribbon menus

2013-04-05 Thread Alex Vergara Gil


- Original Message - 
From: "Steve Litt" 

To: 
Sent: Thursday, April 04, 2013 7:38 PM
Subject: Re: feature request: ribbon menus



On Thu, 4 Apr 2013 14:31:07 +0200 (CEST)
Csikos Bela  wrote:


Alex Vergara Gil  írta:

>Hello developers!
>
>I have a feature request if this is not already >
>requested to you: Ribbon Menus.>

I don't know what ribbon menus is, and I may not be the only one.
You should have explained it, attached an image, or given a link
where it is explained.


The way I see it, if LyX developers were to have enough time to put in
this UI eye candy, that time would be much better spent, for instance,
finishing the job of making LyX a full outliner that can add, delete,
change and move nodes. Or something else necessary or highly desirable
for someone who actually uses it to create large volumes of content.

Next thing you know, somebody will ask for an io/s looking interface to
match his iPhone.

SteveT


Changes in UI like this one takes to anyone just 1 day, it is just a matter 
of decide to make it or not, however the changes you mentioned take a lot of 
coding and a lot of man-hour work, so the time scale is not comparable.


On the other hand ribbon menus once you get use to them you find your 
productivity increasing, actually LyX has something that is like this: "The 
math toolbar", which groups several common operators in just one menu and 
have several menus grouped by functionality. If the ribbon appearance is 
problematic then you can create something like the math toolbar for every 
toolbar and put them in just one toolbar. I see people here who argue with 
this because they would not have everything in front of their eyes, really!! 
then why don´t you complain of not having every single option visible in 
toolbars? What I beg is an UI organization grouping icons by functionality, 
so the resulting toolbar (or ribbon menu) should be smaller and highly 
configurable. Come on people, not only M$ do this, even Apple and there are 
some linux programs that are using a similar approach right now. Static 
toolbars are obsolete in terms of modern GUIs. This request is not for 
beautyness but for increasing productivity.


As I said this is my personal opinion so I migth be wrong, but I haven´t 
received any useful opinion (besides M$ patent) of why not doing such a 
thing just a few user complaining they will affect some how what they feel 
is comfortable. Regarding the patent believe me that if they patent 0s and 
1s then we are definitively lost.:)


Alex






Re: feature request: ribbon menus

2013-04-03 Thread Alex Vergara Gil



Alex Vergara Gil wrote:
I don´t know if thi request can be made inside Qt (I think there should 
be some package for this in the nokia library!).

Pavel Sanda wrote:
No it isn't. Mr Google suggest that "Qt team at one point stopped 
developing

the control due to Microsoft licensing."
This sounds funny given the fact that tabbed toolbar was already around in 
90s

and I remember it from Borland's Delphi UI.

Pavel




Yes indeed, this sounds like we should not be able to build frames at all 
because they look like Microsoft´s Windows and these are licensed by 
Microsoft ;) so what kind of things are legal or not? This point puts even 
more fuzzy to my logic! I thougth graphic design as long as it is not equal 
are not the same and we can make the ribbon as different as we want, just 
keeping the idea and even better, instead of putting it in the top we can 
put then at the left so we can avoid the vertical space eating that Jacob 
mentioned.


So I don´t understand that logic.

Just my POW
Alex 



feature request: ribbon menus

2013-04-03 Thread Alex Vergara Gil
Hello developers!

I have a feature request if this is not already requested to you: Ribbon Menus.

The actual look of lyx makes duplicate functions in text menus and icon menus, 
besides there is a lot of space wasted by allocating the icon menus. This has 
nothing to do with intrinsic code but to UI graphic design. This modern 
approach is the best to maximize functionality and avoid duplicating 
functionality. I don´t know if thi request can be made inside Qt (I think there 
should be some package for this in the nokia library!).

What are your opinions about this? Is this approach correct to you?

Best Regards

Alex

Re: Creating pdf forms template

2013-03-25 Thread Alex Vergara Gil


- Original Message - 
From: "Rainer M Krug" 

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am really looking forward to a working example - but could we please 
keep this discussion on

lyx-users, as it has nothing to do with devel?

Thanks,

Rainer




Dear Rainer

This discussion was made in both user and developers lists because my 
questions has two purposes: 1. to have a working example of forms in lyx and 
2. To make developers realize that a toolbox for form design should be made 
for native support for this inside lyx (as you can see my example is full of 
ERT code)


Regards

Alex



Re: Creating pdf forms template

2013-03-21 Thread Alex Vergara Gil
- Original Message - 
  From: John Kane 
  To: Alex Vergara Gil ; lyx-users Users ; lyx-de...@lists.lyx.org 
  Sent: Thursday, March 21, 2013 12:32 PM
  Subject: Re: Creating pdf forms template


  It works or at least I managed to type some text into the text box.  I made a 
couple of changes to the text which I think makes it a bit more idiomatic in 
English (see attached.  I hope you don't mind.

  I spent what seemed like forever installing the blasted insdljs.sty and it 
worked.  

  For those having the same problem in Ubuntu  I 
  1) created a texmf folder at root level following these directions 
http://nmv.stat.cmu.edu/2012/06/14/managing-latex-packages-manually-in-ubuntu-12-04/

  and then following instructions from 
http://www.latex-community.org/forum/viewtopic.php?f=5&t=8886

  2. cd'd to the texmf/tex/latex/acrotex directory 
  3. ran sudo texhash 
  4 ran  latex acrotex.ins
  Reconfigured LyX and everything ran nicely.

Dear John

Thanks for your reply and your idiomatic suggestions. Now I notice that it must 
be told in the document that for make it to work the AcroTeX package must be 
instaled also (it contains the insdljs.sty file), this specific package allows 
javascript code inside a pdf, so you can manage actions like (onselect, 
onkeypress, etc). It is also part of MikTeX if you run this on Windows so this 
should works on every platform.

The problem is that if you just put 

{this.getField("Escuelat").readonly=false;}

it works in one way, but when you uncheck the box the linked text field should 
become uneditable and empty. For this I expect that the code

{this.getField("Escuelat").readonly=!this.getField("Escuelac").checked;
this.getField("Escuelat").value="";}

shall do the job, but it isn´t. I even made this as a function, but nothing 
happened. The rest of the objects work very nice but this kind of behaviour is 
critical for the next step of creating action buttons.

Regards

Alex



Creating pdf forms template

2013-03-21 Thread Alex Vergara Gil
Hello Lyxers!

In the lasts days I was learning how to create PDF forms using LyX. But this 
process require a few javascript knowledge. I´ve tried my best to translate to 
english the attached template (an improvement of previous in spanish) in which 
you will see that objects are actually created but the scripts doesn´t behave 
as I expect. Someone please help me to set this to work.

I think this is a first step to make a good template and if we manage to obtain 
an impresive one and people starts using it then it should be a feature request 
to support form creation natively in LyX, hopely as a new toolbox. What do you 
think about this?

Please don´t feel offended by my (bad) english, I really make my best effort to 
translate it.

Regards

Alex

pdf-forms-en.lyx
Description: application/lyx


Re: How to create a pdf template?

2013-03-20 Thread Alex Vergara Gil

ping!


Hello all!

I have tried to make this template to work, but there is something wrong 
with my javascript.


Could anyone please help me to get this running

Best Regards

Alex 


pdf-forms.lyx
Description: application/lyx


Re: How to create a pdf template?

2013-03-20 Thread Alex Vergara Gil

Hello all!

I have tried to make this template to work, but there is something wrong 
with my javascript.


Could anyone please help me to get this running

Best Regards

Alex 


pdf-forms.lyx
Description: application/lyx


Re: Article class: KOMA + Beamer

2013-03-20 Thread Alex Vergara Gil

On Wed, 20 Mar 2013, Rich Shepard wrote:


 Template? Is this different from the .sty file?


  I find /usr/share/lyx/templates/ but nothing in there for article
(koma+beamer).

Rich


File-New from template
select the file "beamer-conference-ornate-20min.lyx" which is also 
translated to spanish, french and german

this is the template I refer
HTH
Alex 



Re: Article class: KOMA + Beamer

2013-03-20 Thread Alex Vergara Gil
  I'm preparing a half-hour presentation and want to outline the talk 
before
preparing the beamer-class slides. I see there is an document class 
'article
(koma + beamer)' but I cannot find documentation about use of this class 
in

the built-in manuals or on the Web.

  While I assume that this class facilitates preparation of notes and 
slides
this may not be correct. Where do I find details of what this class 
provides

and how to effectively use it?

TIA,

Rich

Add this to your preamble, remove the % from the one you want, I prefer 
Dresden.


% Select only one
%\usetheme{AnnArbor}

%\usetheme{Antibes}

%\usetheme{Bergen}

%\usetheme{Berkeley}

%\usetheme{Berlin}

%\usetheme{Boadilla}

%\usetheme{boxes}

%\usetheme{CambridgeUS}

%\usetheme{Copenhagen}

%\usetheme{Darmstadt}

%\usetheme{default}

\usetheme{Dresden}

%\usetheme{EastLansing}

%\usetheme{Frankfurt}

%\usetheme{Goettingen}

%\usetheme{Hannover}

%\usetheme{Ilmenau}

%\usetheme{JuanLesPins}

%\usetheme{Luebeck}

%\usetheme{Madrid}

%\usetheme{Malmoe}

%\usetheme{Marburg}

%\usetheme{Montpellier}

%\usetheme{PaloAlto}

%\usetheme{Pittsburgh}

%\usetheme{Rochester}

%\usetheme{Singapore}

%\usetheme{Szeged}

%\usetheme{Warsaw}



The rest is very well explained in the template, just one hint, when you add 
a new column environment you must press enter and then tab to be inserted 
into the column itself.




HTH

Alex



Re: editing math in lyx

2013-03-20 Thread Alex Vergara Gil
- Original Message - 
  From: Neal Becker 
  To: Alex Vergara Gil 
  Cc: lyx-de...@lists.lyx.org ; lyx-users@lists.lyx.org 
  Sent: Wednesday, March 20, 2013 10:01 AM
  Subject: Re: editing math in lyx


  Any convenient shortcut to select the content of the formula?  I thought 
clicking inside the math formula and choosing 'select whole inset' from edit 
menu would do it, but seems to insist on selecting entire document! 


Yes, select one of the following
  a.. triple click inside the formula, 
  b.. select from the begining of the formula with the left click pressed
  c.. add a shortcut to your preferences as in 
http://tex.stackexchange.com/questions/84031/making-an-edit-to-an-inline-equation-that-went-off-of-the-screen/84060#84060
I prefer the first one, is just quicker

HTH
Alex

Re: How to create a pdf template?

2013-03-20 Thread Alex Vergara Gil

Sorry for the wrong thread answer! This is the correct one



Attached there is a MWE of how to produce this forms in LyX (is in spanish
but the idea remains for every language).

HTH, if anyone is so kind to translate this and upload to the wiki please 
be

welcome

Alex



pdf-forms.lyx
Description: application/lyx


Re: editing math in lyx

2013-03-20 Thread Alex Vergara Gil


I would really love to be able to conveniently edit the TeX code 
directly - I'd
be vastly more productive.  I find lyx gui editing - as all other math 
editors -
to be terribly frustrating and unproductive.  I used LaTeX since 1980s, 
and the
lack of this is the only thing that makes me think twice before deciding 
to use

LyX instead of just using LaTeX.



OOps, sorry wrong thread!

You can edit directly the TeX code by selecting the equation inside math 
mode (ctrl+C) and paste outside math mode (ctrl+V) then you will have the 
TeX code directly (you can also place TeX code directly without to enter 
math mode). When you finished select again your Tex code and press Ctrl+M. 
Voilá.


HTH
Alex 



Re: editing math in lyx

2013-03-20 Thread Alex Vergara Gil


I would really love to be able to conveniently edit the TeX code 
directly - I'd
be vastly more productive.  I find lyx gui editing - as all other math 
editors -
to be terribly frustrating and unproductive.  I used LaTeX since 1980s, 
and the
lack of this is the only thing that makes me think twice before deciding 
to use

LyX instead of just using LaTeX.

Attached there is a MWE of how to produce this forms in LyX (is in spanish 
but the idea remains for every language).


HTH, if anyone is so kind to translate this and upload to the wiki please be 
welcome


Alex 


pdf-forms.lyx
Description: application/lyx


Re: How to create a pdf template?

2013-03-19 Thread Alex Vergara Gil


As a starting point: 
http://tex.stackexchange.com/questions/14842/creating-fillable-pdfs


but also:

http://www.ctan.org/tex-archive/info/pdf-forms-tutorial

And as an example:

http://martin-thoma.com/creating-pdf-forms-with-latex/



WOW! Very nice example. It is just be needed to add hyperref support as 
Kornel says:


1.) enable hyperref in document settings Document->Settings->PDF 
options->use package hyperref


2.) in ERT add on appropriate place



add ERT as in the example from:

begin{Form}[action=mailtoi...@example.com,encoding=html,method=post]
 to
end{Form}




I am quite sure that you have to use ert in Lyx.


This is not an issue, although it would be nice to have it on a module, but 
I can use it as it is now. Thank you all!




Cheers,

Rainer




Alex 



Re: How to create a pdf template?

2013-03-19 Thread Alex Vergara Gil
- Original Message - 
From: "Liviu Andronic" 

Subject: Re: How to create a pdf template?


On Tue, Mar 19, 2013 at 2:34 PM, Alex Vergara Gil  
wrote:


I need to create a pdf template for users to fill some boxes like a poll
(actually I need to create a client satisfaction poll). Is there a way to 
do

this? What is the best approach in this case.


I'm curious how this could be done, but wouldn't it be easier to use
an internet service like SurveyMonkey or limesurvey?

Liviu



I live in Cuba so I have very little internet bandwith, so I prefer 
something out of line, if were possible: LyX! I know people can use adobe 
acrobat to do this and I have seen many pdf in this form, but I want to 
learn how to do this in LaTeX (prefereable LyX) because I don´t want to buy 
adobe´s licence (and actually I can´t because some law restrictions - See 
"cuban embargo law").


Regards
Alex 



How to create a pdf template?

2013-03-19 Thread Alex Vergara Gil
Hello LyXers!
Hello Developers!

I need to create a pdf template for users to fill some boxes like a poll 
(actually I need to create a client satisfaction poll). Is there a way to do 
this? What is the best approach in this case. 

Basically I need to place some text boxes (for the user to write something), a 
few Comboboxes (for the user to select a single option) and some Radio/Check 
Groups (for the user to select one/many among some options).

Thanks for your time
Best Regards

Alex Vergara Gil
MSc Nuclear Physics
SSDL, CPHR, Havana, Cuba
http://www.cphr.edu.cu




Re: editing math in lyx

2013-03-18 Thread Alex Vergara Gil
- Original Message - 
From: "Scott Kostyshak" 

To: "Abdelrazak Younes" 
Cc: "Alex Vergara Gil" ; ; 


Sent: Sunday, March 17, 2013 12:11 PM
Subject: Re: editing math in lyx



This sounds like a not very hard feature to implement, maybe without
touching C++ even. So why don't you implement this yourself and propose a
patch? There are not many active developers these days so LyX users must
participate to the development if they want to see LyX evolve.


+1. See the link below for a start. One of the solutions does
basically what you suggest but using shortcuts.
http://tex.stackexchange.com/questions/84031/making-an-edit-to-an-inline-equation-that-went-off-of-the-screen/84060#84060

Scott



Scott

This saves my day, actually I have no idea that LyX can actually can copy in 
rendered math mode and paste outside it as TeX code and then go backwards.


The solution I prefer is then manually select your equation inside math 
mode, cut and paste outside math mode (it will be displayed as TeX code). 
These can be automated by the shortcut: command-sequence char-forward; 
line-end-select ; cut; char-backward; paste; char-delete-forward. hen you 
finish to edit select the whole code and press ctrl+m. Voilá, Everything 
goes as expected.


So thankyou very much Scott for pointing me in the right direction.

Alex 



Re: eLyXer 1.2.4 released

2013-03-17 Thread Alex Fernandez
Hi Ray,

On Sun, Mar 17, 2013 at 1:35 AM, Ray Rashif  wrote:

> On 17 March 2013 07:12, Alex Fernandez  wrote:
> > As Liviu discovered, just to let you all know that I had to release 1.2.5
> > because of problems with the 1.2.4 release (the binary lacked a couple of
> > patches; otherwise the source code was fine).
>
> Alex, when I first heard of eLyXer -- amidst mounting frustrations
> resulting from several failed attempts at converting a 350-page
> document to any other usable format -- I thought it was just another
> deceptive solution and gave it a miss entirely.
>
> How wrong I was, how deceptively brilliant this is! I was expecting I
> would have to at least input child documents, but it worked its magic
> on the master document itself. Believe me, nothing else ever worked,
> and this is a complex document with LaTeX hacks here and there.
>
> Sure, there were some issues, like not recognising some (or all) LaTeX
> commands, external inset, and ignoring some BibTeX entries, but I now
> have a usable single-file HTML verbatim copy of the main contents,
> complete with (cross-)references and images.
>
> The software had been lying dormant as a package in my (GNU/Linux)
> distribution's unofficial buildscripts repository [1] with no love at
> all, but I'll be promoting it directly to a supported binary
> repository as soon as I get some time -- no-one should miss this.


>
> [1] https://aur.archlinux.org/packages/elyxer/


Glad you are doing this. I will add you to the list of maintainers if you
want, and send you any announcements directly.

Thanks,

Alex.


Re: eLyXer 1.2.4 released

2013-03-16 Thread Alex Fernandez
On Sat, Mar 16, 2013 at 10:28 PM, Liviu Andronic wrote:

> > Version 1.2.4 of eLyXer, the LyX -> HTML converter, has just been
> released
> > after a long hiatus. This version features a Russian translation, several
> > more commands and a fix for having both hover and end footnotes. See the
> > full changelog at:
> >   http://alexfernandez.github.com/elyxer/changelog.html
>

Ubuntu binaries for 1.2.5 are available at the PPA:
>
https://launchpad.net/~lyx-devel/+archive/release
>

As Liviu discovered, just to let you all know that I had to release 1.2.5
because of problems with the 1.2.4 release (the binary lacked a couple of
patches; otherwise the source code was fine).

Alex.


Re: editing math in lyx

2013-03-14 Thread Alex Vergara Gil
- Original Message - 
From: "Guenter Milde" 

To: 
Sent: Thursday, March 14, 2013 3:35 AM
Subject: Re: editing math in lyx



Third method:

* select and cut the fraction
* paste into text - will appear as LaTeX macros
* edit
* cut and paste back to the formula

This also works for complete formulas. Then, alternatively, you can select
the LaTeX-macros-text and convert to a math box via Ctrl-M (or Alt-M D for 
a

display formula).

Günter




Isn´t there a better way to do this inside LyX?
I think this is a good feature request for developers, is not that hard to 
put a button inside the math environment that switches between TeX and 
rendered math mode, and when exited you see only rendered. I don´t know if I 
am making myself clear, so I will explain this a little more.


1 Enter in math mode and add some equation/whatever.
2 Now I want to add some TeX code directly or edit what I have introduced, 
so I press the (requested) switch button and I could see all in TeX code.
3 I edit the TeX code  and when finished press the switch button again (or 
just leave math mode), the result should be the new rendered 
equation/whatever I have edited.


This feature would be great for middle to power users, off course one should 
only expect math code inside the math mode so it would be nice to clarify 
this in the manual if it is actually included.


I know I can do this in a ERT environment but then I need to copy to math 
but that´s not an optimal approach.


Regards

Alex 



Re: issues with tufte-book on LyX

2013-03-11 Thread Alex Vergara Gil
Although this works on linux I cannot handle to make it work under 
win7+MiKTeX2.9+LyX2.0.4 
I don´t know why but the same file show chapters and sections compiled in 
linux(debian7testing) and only chapters compiled under windows, so this is a 
big ?W?T?H?

If someone else has any other advice on this it would be appreciated

Regards

Alex
  - Original Message - 
  From: John Kane 
  To: Alex Vergara Gil ; lyx-users Users 
  Sent: Thursday, March 07, 2013 11:30 AM
  Subject: Re: issues with tufte-book on LyX


  Thanks Alex. It's nice to have a solution.






--
  From: Alex Vergara Gil 
  To: John Kane ; lyx-users Users  
  Sent: Tuesday, March 5, 2013 2:28:16 PM
  Subject: Re: issues with tufte-book on LyX



  Hi John!
  I deeply search into my problem and find out that by adding the line 
\setcounter{secnumdepth}{3} in the preamble solves the problem of no section in 
TOC. But I have no good results in adding some pictures in front page, I have 
solved this by making the front in another document and forgoting the cover in 
tufte.

  HTH for anyone with the same issue

  Alex
- Original Message - 
From: John Kane 
    To: Alex Vergara Gil ; lyx-users Users 
Sent: Saturday, March 02, 2013 8:21 AM
Subject: Re: issues with tufte-book on LyX


I just tried to run the example and I see what you mean. There are  no 
sections in the ToC
 and yes, when I stick a graphic in the title the program returns all kinds 
of error messages .  Of course I don't know if it is because the class won't 
allow a graphic or my stolen cartoon is too big. 

Unfortunately mucking around with the tufte-book in Latex does not seem to 
even give me a ToC!  My simple-minded example works in LaTeX and when imported 
into LyX but without the ToC!








Re: issues with tufte-book on LyX

2013-03-05 Thread Alex Vergara Gil
Hi John!
I deeply search into my problem and find out that by adding the line 
\setcounter{secnumdepth}{3} in the preamble solves the problem of no section in 
TOC. But I have no good results in adding some pictures in front page, I have 
solved this by making the front in another document and forgoting the cover in 
tufte.

HTH for anyone with the same issue

Alex
  - Original Message - 
  From: John Kane 
  To: Alex Vergara Gil ; lyx-users Users 
  Sent: Saturday, March 02, 2013 8:21 AM
  Subject: Re: issues with tufte-book on LyX


  I just tried to run the example and I see what you mean. There are  no 
sections in the ToC
   and yes, when I stick a graphic in the title the program returns all kinds 
of error messages .  Of course I don't know if it is because the class won't 
allow a graphic or my stolen cartoon is too big. 

  Unfortunately mucking around with the tufte-book in Latex does not seem to 
even give me a ToC!  My simple-minded example works in LaTeX and when imported 
into LyX but without the ToC!





Fw: issues with tufte-book on LyX

2013-02-27 Thread Alex Vergara Gil
- Original Message - 
From: "Alex Vergara Gil" 

To: 
Sent: Monday, February 25, 2013 11:18 AM
Subject: issues with tufte-book on LyX



Hello LyXers!!

I´m managing some issues when I use tufte-book on my LyX 2.0.4 in windows 
7 x64 SP1.


1. Section labels doesn´t appear on Contents Table (nor there is an option 
to force this under document->properties->numbering and IG).
2. Cannot add figures as title (I need an icon and a caption in the title, 
it returns an error of some a.cfg and at.cfg files missing, but I have a 
full MikTeX 2.9 installation. Only with the caption works fine but when I 
add an inline figure it crash). I need the figure only in the title in the 
first page, not in the rest, but why not? At the end it is hust the icon 
of my app with 32x32 bits size. (Yeah I'm writing an user manual)
3. Date, address and address_right doesn´t appear in front page, so WTH 
are these? again if I use them with a figure it crash with the same errors 
mentioned above.


For the minimal example you can refer to the tufte-book.lyx that appears 
in the example folder, so I think the issue is in the tufte-book module.


Is this an intended behaviour?? In this case how can I change this? Do I 
need to rewrite the module? I'm not a LaTeX expert so I don't know if all 
these can be achieved in LaTeX.


Best regards

Alex Vergara
MSc. Nuclear Physics
SSDL, CPHR, Cuba
http://www.cphr.edu.cu



Ping! 



issues with tufte-book on LyX

2013-02-25 Thread Alex Vergara Gil

Hello LyXers!!

I´m managing some issues when I use tufte-book on my LyX 2.0.4 in windows 7 
x64 SP1.


1. Section labels doesn´t appear on Contents Table (nor there is an option 
to force this under document->properties->numbering and IG).
2. Cannot add figures as title (I need an icon and a caption in the title, 
it returns an error of some a.cfg and at.cfg files missing, but I have a 
full MikTeX 2.9 installation. Only with the caption works fine but when I 
add an inline figure it crash). I need the figure only in the title in the 
first page, not in the rest, but why not? At the end it is hust the icon of 
my app with 32x32 bits size. (Yeah I'm writing an user manual)
3. Date, address and address_right doesn´t appear in front page, so WTH are 
these? again if I use them with a figure it crash with the same errors 
mentioned above.


For the minimal example you can refer to the tufte-book.lyx that appears in 
the example folder, so I think the issue is in the tufte-book module.


Is this an intended behaviour?? In this case how can I change this? Do I 
need to rewrite the module? I'm not a LaTeX expert so I don't know if all 
these can be achieved in LaTeX.


Best regards

Alex Vergara
MSc. Nuclear Physics
SSDL, CPHR, Cuba
http://www.cphr.edu.cu 



Re: Text in certain colours

2013-01-17 Thread Alex Vergara Gil

Hi

I have line graphs generated in R, where each line is in a different 
colour (the colours are

generated in R by using rainbow(8)).

Due to space problems in the graph, I can not put the legend into the 
grapgh itself, but want to
put it into the caption. Therefore I would like to reproduce the colours 
in LaTeX. I know how to
set the text colour via LyX to one of the pre-defined colours, but hjow 
can I set them to these

specific colours?

In addition, I would like to have the colours as filled squares in the 
text - any suggestions?





Oh you mean by adding
\textcolor{yourcolor}{$\blacksquare$yourcaption}
in an ERT

Regards

Alex 



Re: Word won't open simplest LyXHTML file

2013-01-17 Thread Alex Fernandez
Hi Jerry,

I am the primary author of eLyXer.

On Thu, Jan 17, 2013 at 4:49 AM, Jerry  wrote:

> Thanks for that tip. I checked it out. It's just a Python thing so it
> works fine on OS X, and LyX picked it up as advertised.
>

Yes, I can confirm that OS X is fully supported.


> The output on my simple test case does look nice in a browser, but I get
> the same error opening with Word as I first described: "The XML file bla
> bla bla cannot be opened..." etc. I thought maybe my copy of Word was
> broken but it reads other HTML files fine--I'm guessing they don't have the
> XML stuff in them, however.
>

Word does not like XHTML very much; you need to export to HTML 4, using the
--html option.
  http://elyxer.nongnu.org/userguide.html#sub:HTML-Code
If you are doing the conversion inside LyX, instead of on the command line,
you have to add the --html in the conversion interface.


> I checked the HTML file that eLyXer made with the W3C page and got: "The
> uploaded document "-" was successfully checked as XHTML 1.0 Transitional."
>

Yes, eLyXer outputs pure XHTML.


> Also--eLyXer does not appear to use MathML so I don't think there is any
> hope of getting editable math into Word using this method. (But I haven't
> read all of the eLyXer docs.)
>

eLyXer has several options for Math output:
  http://elyxer.nongnu.org/userguide.html#sub:Math
Sadly, none of them is MathML, since at the time eLyXer was conceived it
was not very widely supported, and I have not found the time to add it.

Hope this helps,

Alex Fernández.


Re: Copy and paste images from other programs to Lyx

2012-12-20 Thread Alex Vergara Gil
On 12/18/2012 11:08 AM, GSC wrote:

  Is it possible to paste  images without asking for save path and Lyx choose 
one automatically for me ?  I believe many people use image pasting heavily and 
it's a waste of time to open the save file dialog every time. So I really hope 
there's an option for this. 


  There is an existing one which is marked as implemented as follows:
  Paste graphic from clipboard: prompt for filename/location (but have 
reasonable defaults to allow things to go quickly), save clipboard picture, and 
include into the lyx document at the cursor location. (Motivation: I take notes 
in LyX during mathematical lectures, and I often want to include figures. With 
a tablet PC, it's quite easy to get the figure into the computer in real-time, 
but there are many steps to get that figure into LyX -- it's difficult to do it 
in real-time. How can that process be streamlined? May also help to allow 
graphics to be stored within the LyX file, so the user doesn't have to bother 
coming up with path/filename for each figure?)
  → New in 1.6


  but as the statement says, "have reasonable defaults to allow things to go 
quickly"


  It's not implemented completely , we can go quicker by not showing the save 
dialog at all, and allow for some default image display parameters to be set 
somewhere. (for example, I almost edit the width to 15 cm every time). 


  Should I edit the Feature Request poll wiki page to get my wish delivered ?

I think this request lies in the same feature request for a XML native .lyx 
format; since including images inside an xml is so easy and does not require 
aditional files to be saved. Read the thread about the XML native format named 
"Would a native LyX XML schema be accepted?".

Regards

Alex

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil



On Mon, Dec 17, 2012 at 2:25 PM, Richard Heck  wrote:
I'm not so sure. If someone were to write a converter that mapped LyX's 
XML

onto ODT's, or whatever, then yes. But that would still need doing.


Yes, of course.  However, I think it should be easier to write such
XSLs to map from a straightforward LyX XML schema than from LyXHTML
output.  The latter depends too much on the document class and has
issues, while the former should preserve everything about the original
.lyx as much as possible.

Nico
--

And it would be easier for the final user the fact that all converters can 
operate automatically inside the LyX, instead of calling them, so you would 
see that copying a MathML equation in LOWriter and then pasting in LyX would 
result in a LyX equation where you insert them instead of having to convert 
it to latex using whatever script you have and the copy paste inside an 
equation box (is there an easier way right now? I think my way is too much 
omplicated), the same for figures (you don't need to save the image and then 
load it from LyX, just paste it where you want it) and tables (I think this 
is a lot more complicated example, but there is XLST converter).


Alex 



Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil
Sounds like a great idea. One question: would having an external but faithful 
XML Lyx file allow XLS-translations to XML-based word-processing formats?
That would solve once and for all (hopefully) the problem of the Lyx-->Word 
conversion that still plagues those of us working in the Humanities (At least, 
it still affects me).


Stefano
 -- 


Yes!!! This is the whole idea behind a native XML schema .lyx file. Not only 
word but also excel, powerpoint, copy-paste inline, ... , and so on would be 
solved easily in this way. 

Alex

Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil


There still are long-term plans to convert the native LyX format to XML. 
But it turns out to be more work than one might expect.


rh



Really nice to hear about this, is there any schedule??? 


Alex


Re: Would a native LyX XML schema be accepted?

2012-12-17 Thread Alex Vergara Gil


Would this be accepted?  Mind if I use a BSD license?

Nico
--

+1 with this. This is what LyX really needs to handle native XML schema in 
.lyx files. Please hurry up the desition of having this in LyX. I really 
want to see an outstanding WYSIWYM program that can handle metapackages, 
figures, etc inside a single file and fully  compatible with other office 
products in a copy-paste schema. Isn't there anyone who think this would be 
great???


Alex 



Re: Show line numbers in the sources

2012-12-13 Thread Alex Vergara Gil

Hello,
I would like to make a suggestion for a new feature.
When I try to compile a file using LyX and there is a syntax error, the 
LaTeX protocol tells me in which line the error occurred. If there were 
line numbers displayed in the sources window, it would give me a clue 
where in my LyX document the cause for this error is located.


What is your opinion on this, and what is the 'official' way to make a 
feature request?


+1 with this. Definitively there must be an enhacement on the LyX debugger. 
This can save a lot of time of erasing_the_half common procedure.


Alex



Re: about the .lyx formt

2012-12-05 Thread Alex Vergara Gil

On Wed, Dec 5, 2012 at 8:15 AM, Alex Vergara Gil  wrote:
The question is why to have a .lyx format in plain text? Isn't xml a 
better

one? ..


There's a wiki where this is discussed.  I agree, XML is better, not
because XML is great, but because of tools like XSLT.  If there was a
loss-free, bi-directional conversion between LyX and some XML schema
(XHTML, say), then that'd be good enough for now.  There is an export
to XHTML function, but I don't think there's an import from XHTML

Nico
--


Can you point me the address to the wiki please.
I agree that having a bidirectional conversion is nice at first glance (or 
first step approximation lets say) but what I really expect in the future is 
to have the .lyx format natively use the xml scheme. So then there would be 
no need for an importer-exporter tool (except for compatibility with 
previous versions) and with all the benefits of xml then LyX will overwhelm 
any other word processing software.


Alex 



about the .lyx formt

2012-12-05 Thread Alex Vergara Gil

Hi everyone!

I am a user of LyX, not a developer, but somehow I feel I must do things to 
contribute to it. So I want to open a thread about the .lyx format.


The question is why to have a .lyx format in plain text? Isn't xml a better 
one? I know plain text is easy to edit but we really doesn't work with it 
since LyX do this for us. The advantages would be obvious: 
Insertion/Deletion of metadata, a better way of handling everything, etc. 
This is my point of view, so I might be wrong but I doesn't feel like that.


Best Regards

Alex 



Re: Custom metadata

2012-12-05 Thread Alex Vergara Gil
On Tue, Dec 4, 2012 at 8:21 PM, Nico Williams  
wrote:

It'd also be nice to be able to define a filter that must be applied
before rendering.  Such a filter might convert metadata into LyX
directives, thus pre-rendering said metadata.


Did you look into the possibility of adding a new file format (say,
.xml2rfc) and a converter from .lyx to .xml2rfc and a 2nd one from
.xml2rfc to .lyx? I think current LyX infrastructure allows you to do
what you want.

Liviu



Liviu

I think Nico means to have a classic CTRL+C -> CTRL+V approach of typical 
Office products. In this case it should be say that LyX is not implemented 
to do this since the .lyx format is only plain text, so you have no way to 
add an image, for instance, inside it. The way lyx works (which is correct) 
is to have external images and then insert them in view by rendering. I also 
think this is a feature that can be done by creating the image (this is the 
classic metadata inset) in the .lyx file directory and then create the 
reference to it. Of course there is the complication of what happens if you 
want to delete it, this is a gray area.


I hope this clarifies the question

Alex 



Re: various fonts in math equations

2012-11-30 Thread Alex Vergara Gil

Guenter Milde  users.sf.net> writes:


I recommend using the LaTeX package "isomath"
(http://www.ctan.org/pkg/isomath):


Will this work with MikTeX and LyX?
I do not see a version for MikTeX there.
Leslaw


I use miktex 2.9 in mswindows and this work for me

eq_wihbold.lyx
Description: application/lyx


Re: Biber documentation

2012-11-29 Thread Alex Vergara Gil

Am Mittwoch, 28. November 2012, 20:02:55 schrieb stefano franchi:
Thanks, Stefano, for your help and advices and references. Will work on it. 
By the way, Springer publisher wants the Vancouver style.

In the net it is mentioned:
by TeXnical Designs on Tue Aug 30th, 2011
LaTeX has a Vancouver citation style which you can use and can be found 
here. As far as doing it in LyX, it is possible. This PDF should explain 
things.

But the PDF mentioned does not mention LyX at all.
Is there a Vancouver.layout file available?
Wolfgang


You don't need the layout because it is present in latex, if you use bibtex 
just double click in the gray box and choose the vancouver style


Regards

Alex 



Re: various fonts in math equations

2012-11-29 Thread Alex Vergara Gil



Hi,

I am using LyX on a PC operating under Windows XP, with MikTeX.
I need to have math equations containing symbols
written with various fonts. By using the terminology
of MS Word/Windows, I need the following combinations:

1) Italic
2) Bold
3) Italic+Bold

I have been able to have 1 in Lyx (this in fact appears by default
while typing the formulae). I have also been able to have 2, which
can be done if I change the font to /mathbf in the equation editor.
But I have not been able to achieve 3. Is there any way to do this?
The point is that I'd like to see these effects not only in LyX itself,
but also (or maybe in the first place) in the pdf file generated by LyX.

Leslaw



attached you have an example of an equation with several tipographies in it



eq_wihbold.lyx
Description: application/lyx


Re: Getting rid of "You cannot type two spaces this way" message?

2012-11-21 Thread Alex Vergara Gil



On Wed, Nov 21, 2012 at 03:08:27PM +, Alan R. Bleier sort of wrote:

On Apr 15, 2012, at 3:59 PM, Trevor Jenkins wrote:
> if the key sequence has no meaning in LyX then I'd argue that there is
> absolutely no need for a message at all. Just have it drop the second
> space quietly and move on.
> Sorry I'm late joining this conversation, but it was sufficiently
> annoying to me today that I searched for information about it and
> found this thread.

I agree completely with Trevor.  If you are serious about "what you
see is what you mean" and "LyX lets you concentrate on writing" (from
http://www.lyx.org/WhatIsLyX ), the message should not be displayed.


So you volunteer to handle the bug reports saying "LyX doesn't
accept what I type" ... ... ... "Ah, two spaces... won't work."?

Andre'


Oh like the "bug repots"  of "LyX doesn't put my images where I want", 
etc. Come on guys, this is ridiculous. If some thing one should do before 
using anything is to read the manual, and there it is well written: "LyX 
is WYSIWYM", so meaningless thing won't work, like two consecutive spaces 
unless you really want them and then you can just do CTRL+space, voila! 
two spaces. So I join the one who thinks meaningless messages must be 
ridded out of LyX.


+1 with Trevor

Alex
A really useful message that doesn't appear is when you type carriage return 
without line break or paragraph break, it shoud appear as "detected line 
without line break" or something else. By line breaks I mean the "." or ":" 
or "...", etc. What is the sense of a line without period?


Alex 



Re: Getting rid of "You cannot type two spaces this way" message?

2012-11-21 Thread Alex Vergara Gil



On Wed, Nov 21, 2012 at 03:08:27PM +, Alan R. Bleier sort of wrote:

On Apr 15, 2012, at 3:59 PM, Trevor Jenkins wrote:
> if the key sequence has no meaning in LyX then I'd argue that there is
> absolutely no need for a message at all. Just have it drop the second
> space quietly and move on.
> Sorry I'm late joining this conversation, but it was sufficiently
> annoying to me today that I searched for information about it and
> found this thread.

I agree completely with Trevor.  If you are serious about "what you
see is what you mean" and "LyX lets you concentrate on writing" (from
http://www.lyx.org/WhatIsLyX ), the message should not be displayed.


So you volunteer to handle the bug reports saying "LyX doesn't
accept what I type" ... ... ... "Ah, two spaces... won't work."?

Andre'


Oh like the "bug repots"  of "LyX doesn't put my images where I want", etc. 
Come on guys, this is ridiculous. If some thing one should do before using 
anything is to read the manual, and there it is well written: "LyX is 
WYSIWYM", so meaningless thing won't work, like two consecutive spaces 
unless you really want them and then you can just do CTRL+space, voila! two 
spaces. So I join the one who thinks meaningless messages must be ridded out 
of LyX.


+1 with Trevor

Alex 



Layouts vs cls file definition (was: Lyx .layout language for nagauth.cls)

2012-07-12 Thread Alex Vergara Gil

El 11/07/2012 07:19 p.m., Allen Wilkinson escribió:

(...)
Why doesn't LyX just default to the .cls files definitions and abandon 
the need for layout files?


(...)


Dear Lyxers

I half agree with this question, layout files are very useful when you 
have to get more than one cls file definition (i.e a master document is 
a book and a child document is an article and so on), but when you are 
writting just an article the editors often offer you a cls file already 
(ElSevier for example). I propose one of two solutions: isn't a way to 
get layout files automatically from cls file definitions, if this is too 
overwhelming I can handle with just the basics and then add manually the 
rest for the first glance (a python script would be nice, suggested name 
"cls2layout.py"); second solution could be that lyx can actually read 
the cls file as an option to the layout file, this is not in lyx 
philosophy but why not? It would be helpful in some specific cases like 
this which is used a lot. Probably this is solved someway or someone has 
already found a solution so it would be nice if it is published here, 
I'm open at suggestions.


--
Regards
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165



Re: Making a tab read-only?

2012-06-26 Thread Alex Vergara Gil

El 26/06/2012 07:24 a.m., Kornel Benko escribió:


And how about the command

buffer-toggle-read-only

?

You may enter the command in the lyx-command line, or bind it to some key.

Kornel



I have found a solution

copy from Lyx_directory/Resources/ui/stdmenus.inc to userdir/personalLyx/ui
add the following line wherever you want inside the file menu in the 
copied file

Item "Make Read Only" "buffer-toggle-read-only"

voilá, it works! Thanks to Kornel for the hint

--
Greetings
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165



Re: Making a tab read-only?

2012-06-26 Thread Alex Vergara Gil

El 26/06/2012 07:03 a.m., Roger Burton West escribió:

On Tue, Jun 26, 2012 at 02:43:51PM +0200, Rainer M Krug wrote:

My Problem: I would like to avoid that I accidentally change something in the 
other documents and
save it.

Failing an in-program solution, how about marking the _file_ read-only?
(chmod a-w filename)


Oh, but this is a linux-only solution, and definitely not for user who 
wants to write without knowing too much of technical details, otherwise 
we will use plain latex instead of lyx. ;)


A simple menu entry won't hurt anyone and will be helpful

--
greetings
~-o--{}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165



Re: Inserting Citations

2012-06-12 Thread Alex Vergara Gil

Dear William

If you doesn't see any grey rectangle mentioning BibTeX bibliography 
then you have not inserted it yet, so you cannot expect to have 
references when you try to add a citation.


So first of all you must insert your BibTeX Bibliography into your 
project


Alex


Re: Lyx bibliography

2012-05-17 Thread Alex Vergara Gil


El 15/05/2012 06:23 p.m., Daniel escribió:

Hi,

I am writing my PhD thesis in Lyx and I'm using Jabref to manage my references
and produce the .bib file. When I compile my file Lyx correctly produces the
bibliography at the end of the document but the citations are messed up. I get
things like  "l [e,?]" where the citation should go (but the corresponding
reference in the bibliography is there.

Any ideas on how to fix this would be greatly appreciated.

Daniel



Hi Daniel!

I strongly recommend you Andrew Parsloe bib importer to LyX, on which 
you can reedit in LyX your bib file erasing all unnecessary characters. 
You will found this very useful.


There is also a posibility that your citation style is not what you 
espect, you could check that by right clicking the cite itself.


Alex


conflict between LyX and Gimp for the use of python

2012-05-11 Thread Alex Vergara Gil

Hello LyXers!

I have a system with windows 7 which have previously installed python 
2.6 for the use of GIMP, this sofware do use python for a lot of things 
so I cannot remove it from the system. I want to install LyX in this 
system but when I do that all goes wrong because all the python scripts 
refers to the python 2.6 already installed instead of the correct python 
inside LyX. Is there a way to tell LyX that he must use the python 
located inside it and not the python of the system? I cannot found 
anything such a "python executable location" variable neither in LyX nor 
in registry.


My problem goes further than just converters, which behaves wrong in 
almost all the cases, it refers to the entire LyX system which use a lot 
of python scripts and there are a lot of errors when for example 
reconfiguring.


LyX 2.0.0, GIMP 2.6.11, python 2.6 in the system, windows 7... if you 
need anything else to answer let me know.


Greetings
~-o--{____}--o-~
Alex Vergara Gil
MSc. Física Nuclear
Laboratorio Secundario de Calibración Dosimétrica
Centro de Protección e Higiene de las Radiaciones
Calle 20 No. 4113 e/ 18A y 47 Playa
La Habana, Cuba
A.P.6195 C.P.10600
Telf: (537)6824892, (537)6821803
Fax: (537)2030165




Re: Embedding arrows & stuff

2012-05-10 Thread Alex Vergara Gil


El 10/05/2012 09:02 a.m., Paul A. Rubin escribió:

Guenter Milde  users.sf.net>  writes:


It would be nice, if a math inset would behave like a float, minipage or
branch: if you go to the first position inside the inset and press
backspace, the inset is dissolved and the content inlined. This would
give a consistent user experience.

I'll second that motion.

Paul

And when it is inlined you go to the first position, press TAB and the 
inline should go back to inset. The reverse case would be great too!


Alex






Re: color url ONLY

2012-05-10 Thread Alex Vergara Gil


El 10/05/2012 08:33 a.m., Paul A. Rubin escribió:

UD  gmail.com>  writes:



 Is there a way to color (and make clickable) only URLs, but not
 citations?
 When I use the Document/Settings/PDF properties, both URLs and
 citations are colored and are clickable.
 Thanks,
 Ehud Kaplan


Assuming your text is black, you can add 'citecolor=black' as an additional
option for hyperref.  Citations will still be clickable, but they'll be
"colored" black.

Paul

I think Mr. Ehud means to have the citation in one color i.e black as 
you suppose, but the URL in another color i.e blue as in:


some authors, title, publication, available at _http://somewhere.com_

I agree that the full citation should be clickable.

Alex




Re: References appear with

2012-05-07 Thread Alex Vergara Gil



Do you mean the setting in Documents>  Settings>  Language?

Mine is set to English.

Then select the reference section and check the language, the best 
solution should be to look at the lyx file into a text editor such as 
notepad++ (win2) or gedit (linux) and search for \language, you must 
have declared this only once in the entire document otherwise erase 
every other appearance than the first.


Re: References appear with "et" instead of "and" between authors

2012-05-07 Thread Alex Vergara Gil


El 07/05/2012 01:41 p.m., ChiPro escribió:

Hi all,

I'm using BibDesk as my reference package in Lyx. I have set the Lyx options
(Documents>  Settings) to "Natbib: Author-year" and the citation style to
"[author1] and [author2] ([year])".

Unfortunately, when I produce my PDF file, the reference appears as


[Author1] et [Author2] (2000)


instead of the desired


[Author1] and [Author2] (2000).


Any help would be appreciated.

Thanks,
CP


You have your document language in French? If is the case change it to 
English


Alex


Re: LyXHTML Visual Appearance

2012-05-07 Thread Alex Fernandez
On Mon, May 7, 2012 at 11:27 AM, Gour  wrote:

> I'm also curios if there is plan for LyXHTML/eLyXer to add some JS-based
> search like it's done in Sphinx (http://sphinx.pocoo.org/index.html)
>

Definitely not for eLyXer, at least at the moment.

Alex.


Re: LyXHTML Visual Appearance

2012-05-06 Thread Alex Fernandez
On Sun, May 6, 2012 at 10:24 PM, Gour  wrote:

> On Sun, 6 May 2012 20:31:52 +0200
> Alex Fernandez  wrote:
>
> > If it works for you, then it is not obsolete! :)
>
> Sure...just wonder what is the objective of 'internal' converter if not
> just duplicating the feature(s) ?
>

Hard for me to say since I am not involved with the internal converter, but
I gather it is not there yet in many respects.

Alex.


Re: LyXHTML Visual Appearance

2012-05-06 Thread Alex Fernandez
On Sun, May 6, 2012 at 5:07 PM, Gour  wrote:

> On Sun, 6 May 2012 15:49:41 +0200
> Alex Fernandez  wrote:
>
> > You can try eLyXer, which does output paged content with navigation
> > links. http://elyxer.nongnu.org/userguide.html
>
> Thank you. It works OK. I knew about it, but considered that it is
> (maybe) obsolete considering that LyX now ships with its own LyXHTML
> converter.
>

If it works for you, then it is not obsolete! :)

Alex.


Re: LyXHTML Visual Appearance

2012-05-06 Thread Alex Fernandez
Hi Gour,

On Sun, May 6, 2012 at 3:06 PM, Gour  wrote:

> Moreover, we're curios if LyXHTML can be configured to produce chunked
> XHTML output with navigation links?
>

You can try eLyXer, which does output paged content with navigation links.
  http://elyxer.nongnu.org/userguide.html
You can download it from the front page:
  http://elyxer.nongnu.org/index.html

Thanks,

Alex.


Re: Layout for changing font within a paragraph?

2012-05-04 Thread Alex Vergara Gil


El 04/05/2012 11:06 a.m., James Sutherland escribió:

LyX users,

I am trying to create a "local layout" that allows me to change the 
font.  This is what I have so far:


Format 35

Style Revision

CopyStyle Standard

LatexName textcolor{red}

LatexType Command

Font

Color Red

EndFont

End

The problem is that this applies to an entire paragraph.  How do I 
apply this to only a few words/sentences within a paragraph?


Thanks,

James


I don't see the point for doing this. Is it not easier to select the 
text you want to change, then press the style button (the "ab" one) and 
finally choose whatever you want? I mean I can change font family, color 
, style etc


Alex


Re: HTML Pagination Issues (elyxer)

2012-04-26 Thread Alex Fernandez
Hi Ray,

On Fri, Apr 27, 2012 at 12:27 AM, Raymond Lillard wrote:

> I'm not clear on these things, but it looks like
> Elyxer is not maintained by the Lyx project.  Should
> I take silly little problem elsewhere?
>

Sure, you can email me directly. I have received other requests to remove
parsing errors from the output; I should probably do that for the next
version.

OK, I made an incorrect assumption when I wrote the above.
> I didn't realize the HTML was being created directly from
> lyx code.  I was thinking it was going through some common
> intermediate format.  Since not, the problem is between me
> and elyxer and probably insoluble since neither HTML or
> Lyx code have a any concept of a letter sized page.
>

Yes, your intentions (output numbered by actual paper pages) is quite alien
to eLyXer and even to the HTML format itself. Apart from cutting pages at a
fixed number of words, or doing some troff-like abomination (the kind you
see on RFCs: http://www.rfc-editor.org/rfc/rfc1866.txt), I don't see how
that would even work. The natural way to do what you want would be to cut
the output by sections; and frankly I don't understand why that solution
doesn't cut it for you (pun intended).

Another request I have received, and which I need myself, is to output
section names as page names, the kind of dash-separated-titles that you see
on blog posts. I should take out some time to work on eLyXer!

Alex.


  1   2   3   4   >