Re: LyX and font caching

2024-08-21 Thread José Matos
I think that this is related with math preview.

Are you using LyX 2.4?

What is your OS... Help->About LyX

On Tue, Aug 20, 2024, 18:23 Michael Dean Pugh  wrote:

> I hope someone can explain the problem I am having, because I am stumped.
> I am creating a few new fonts with various mathematics symbols.  As a
> result, I periodically compile documents which use them so that I can see
> what the new fonts look like in context.  Some of these documents are
> written in LyX, others in straight LaTeX.  These fonts are .otf and in both
> cases, I am using XeLaTeX/XeTeX for compilation.  Here's the strange part.
> Today, I noticed that the changes I had recently made to the font were not
> showing up in the LyX compilation.  But they are showing up in the LaTeX
> compilation.  What is weirder is that changes to the document itself *do* show
> up in LyX—it is the font that is not changing.  So I thought, well,
> something is getting cached somewhere.  It gets even weirder.  I deleted
> one of the fonts.  My LaTeX compilation now gives errors because it cannot
> find the font, but LyX still compiles—albeit displaying the document
> using the old version of the font.  What is getting cached, by what, and
> where?  I'm mystified.
>
> Thank you,
> Mike Pugh
> --
> lyx-users mailing list
> lyx-users@lists.lyx.org
> http://lists.lyx.org/mailman/listinfo/lyx-users
>
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Parsing of math expressions

2024-08-15 Thread José Matos
On Thu, 2024-08-15 at 14:15 -0300, Rudi Gaelzer wrote:
> Since the last upgrade it seems that a very useful property has been
> lost.
> Before, whenever Mathematica worked out some mathematical result, I
> would TeXForm it, thereby generating the LaTeX source, copy it and
> paste it into LyX in any mathematical environment.  LyX would always
> parse correctly the LaTeX expression.
> Now, I always get the commands, without parsing.  Is there some
> configuration that changed since the last update?

I think that you are referring to math (instant) preview.

I have a similar setup (the only difference is that I am using what it
will be Fedora 41). I will look into this still this month, hopefully
before 2.4.2 is released.

Sometimes the preview works and others it does not. I need to look
carefully on what is going on.

Regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: spellchecker

2024-07-26 Thread José Matos
On Fri, 2024-07-26 at 13:45 +0200, Jürgen Spitzmüller wrote:
> > > It does. Right click on the word and select "Remove from document
> > > dictionary"
> > Sorry again, but after I made Ignore all, the word never shows up
> > again, Hence, no way to click right
> 
> You have to click on any occurrence of that word in the document.

I was curious about this. I had already forgot that this was introduced
in 2.4. :-)

I searched in the lyx repository and I found that the Additional manual
in French had this:

$ grep -r spellchecker_ignore
...
lib/doc/fr/Additional.lyx:\spellchecker_ignore french preprint
...

When I open this file, search for preprint and select the word I do not
get the option to remove from the document dictionary using the context
menu.

I happily admit that could have misunderstood any of the required
steps. :-)
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: spellchecker

2024-07-26 Thread José Matos
On Fri, 2024-07-26 at 10:34 +0200, Patrick Dupre via lyx-users wrote:
> Hello,
> 
> How can I manage the spellchecker associated with a lyx document?
> It seems that there is a an instruction like \spellchecker_ignore
> How can I modify the associated word list?
> 
> Thank.

Hi Patrick,
  I am not sure if I am answering your question. :-)

In my case, in the user directory (~/.lyx/ here) I have several
pwl_*.dict files.

Those are text files where the word that we say to ignore are listed,
one per line.

I hope that this helps,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: tectonic, anyone?

2024-07-23 Thread José Matos
On Tue, 2024-07-23 at 17:59 -0400, Neal Becker wrote:
> I have sometimes installed all packages from Fedora TexLive. 
> Downside is there are 1000s of packages, and so it really slows down
> software updates.
> I guess the thing I thought was interesting was automatic download on
> demand. 

This is a little bit tangent so forgive me for this post. :-)

$ sudo dnf install texlive-scheme-full

and problem solved. :-D

Yes, you can still complain that some documentation is not installed
this way, but... :-)

My more serious problem with the download on demand is that it
sometimes occurs at times that I have other demands. And it usually at
that time picks precisely the slowest mirror. I have been there. :-(

Best regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Romannum

2024-07-21 Thread José Matos
On Sun, 2024-07-21 at 14:56 +0200, Patrick Dupre wrote:
> Sure, but it could be a font option.

But romannum is not a font.

Unless you consider that in some generalized fashion. :-)

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Romannum

2024-07-21 Thread José Matos
On Sun, 2024-07-21 at 14:19 +0200, Patrick Dupre via lyx-users wrote:
> Hello,
> 
> I did not find a way to use Romannum{x}
> where x = 1, 2, ...
> in a lyx formula.
> 
> Did I miss it?
> 
> Thanks.

I can do it if I type \Romannum{4} outside of math and convert it to
math mode (Alt m + m).

In the math mode the macro argument is represented as a nested block.

I hope that this helps,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.4.1 Released

2024-07-05 Thread José Matos
On Fri, 2024-07-05 at 00:13 -0400, Richard Kimberly Heck wrote:
> We are proud to announce the release LyX 2.4.1, the first maintenance
> release in the 2.4.x series.

Updates created for Fedora:

F41: https://bodhi.fedoraproject.org/updates/FEDORA-2024-7b7b5065ec
F40: https://bodhi.fedoraproject.org/updates/FEDORA-2024-2e20b0f97f
F39: https://bodhi.fedoraproject.org/updates/FEDORA-2024-6f608b611a

In a day they will be in updates-testing, after a probation period (one
week at most) if there are no problems the updates will go to updates.

If you are Fedora user, and use these packages, please test them and
report any issue here.

Best regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX v2.4.0 RC4 -> Unicode in Program Listing (again...)

2024-04-17 Thread José Matos
On Wed, 2024-04-17 at 13:17 +, Bernt Lie wrote:
> Question 1:
>  * Dangerous, because LyX is more likely to *crash*, or
>  * Dangerous, because it opens up my computer to hacking??

The script that you call can run any code using the gnuplot "system"
call. That is the same as having access to a shell...

If the gnuplot files that you use are your own, or from one that you
trust, then there is no risk... or actually the same risk that you had
if you run the script outside of LyX.
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread José Matos
On Fri, 2024-04-12 at 09:57 +, Bernt Lie via lyx-users wrote:
> 
> Thanks.
>  
> I have tried with inserting the text “abstract=on” (with and withough
> prepending/appending it with “), but this has no effect.

Note that the abstract=on option only changes the (pdf) output, it does
not change how the document looks in lyx.

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 2.4.0 RC4 - bug? Abstract headline is missing

2024-04-12 Thread José Matos
On Fri, 2024-04-12 at 09:41 +, Bernt Lie via lyx-users wrote:
> When I use KOMA script and Article style, and insert an Abstract, the
> headline "Abstract" is not inserted. This is different from previous
> versions, I think??
> 
> Is this a bug?

I tested in 2.3.x and it does not show there as well.
So at least the change is not specific to lyx 2.4.

If you change to the standard class then the label is there both for
2.3 and 2.4.

So the question is if the label should be there for consistency.
I am inclined to say yes but I have no strong feelings about this. :-)

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Inline math: one ERT compiles, the other doesn't

2024-03-15 Thread José Matos
On Fri, 2024-03-15 at 13:14 -0700, Rich Shepard wrote:
> I was wrong. I cannot get an simple equation to compile via the menus
> or
> ERT.
> 
> I copied the real doc.lyx to mwe.lyx and deleted everything above and
> below
> the paragraph with the equation. That non-printable character shows
> up even
> with a minimal entry in the ERT, regardless of whether the backslash
> is
> entered.
> 
> I'm totally lost and need advice on what might cause this issue.
> 
> mwe.lyx attached.
> 
> Rich

The unprintable character is FFFC. You can see it opening the lyx file
using gvim (for example).

That character is placed after the math inset and before the next
comma.

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Stuck between v2.4-RC1 and v2.3.7

2024-01-29 Thread José Matos
On Mon, 2024-01-29 at 21:46 -0500, Steven Paulson wrote:
> Hi everyone,
> 
> I recently upgraded LyX to v2.4-RC1. Previously, I was using v2.4-
> beta3 without problems. However, ever since v2.4-RC1, I have failed
> to open all my LyX documents previously created under beta 3, showing
> me the "LyX cannot open OLDER version of documents" error. Right now,
> I cannot seem to locate the beta 3 installer from anywhere, so I went
> back to v2.3.7 from the official website, but got the "LyX cannot
> open newer versions of documents" error for those documents. I am
> stuck in between v2.4-RC1 and v2.3.7.
> 
> I cannot understand why the newer version 2.4-RC1 cannot open an
> older version:
> 
> ~/Documents/example.lyx is from an older version of LyX and the
> lyx2lyx script failed to convert it.
> 
> Any help would be appreciated.
> 
> Thanks,
> Steven

What operating system are you using?

The only reason to get that type of error is to have a mix between
different versions installed. Because RC1 has a more recent conversion
tool (lyx2lyx) and so that error should not happen.

In 2.4 what do you get on Help->About LyX (I am interested in "System
directory" entry.

Regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Outline panel can't be stuck on choosen item

2024-01-16 Thread José Matos
On Tue, 2024-01-16 at 09:57 +0800, henrybolt wrote:
> I'm informed that the development version fix the bug and will be
> included in LyX 2.4.0.
>  I'm very interested in testing 2.4.0 dev version.
> Is there any way to using the testing version?
> 
> Thank you very much again!

Quoting the message sent yesterday:
"""
The LyX team is happy (and relieved) to announce the publication of the
first 'release candidate' for the long awaited 2.4.0. You can find
tarballs and binaries for Windows and OSX here:

 http://ftp.lyx.org/pub/lyx/devel/lyx-2.4/

Strictly speaking, we are releasing RC1 for testing purposes only.
Please report any bugs you may find to the user list or the developer
list, as you prefer.
"""

You can find in that url binaries for several Operating Systems.

Regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Latex vs. non-latex fonts

2024-01-13 Thread José Matos
On Fri, 2024-01-12 at 16:25 -0500, Neal Becker wrote:
> Thanks!  I am on linux (fedora). 

I am sorry for hijacking this thread.
If you are using copr:
https://copr.fedorainfracloud.org/coprs/jamatos/lyx-devel

the version available has switched now to qt6.

Tell me if you have issues.

Regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Adding accented character in JabRef

2024-01-02 Thread José Matos
On Tue, 2024-01-02 at 06:17 -0800, Rich Shepard wrote:
> Herbert,
> 
> What's the AltGr chord?

https://en.wikipedia.org/wiki/AltGr_key

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Keeping multiple 2.4 lyx binaries

2023-12-11 Thread José Matos
On Mon, 2023-12-11 at 17:08 -0500, Anand Rangarajan wrote:
> Is there any alternative to keeping multiple lyx-2.4 binaries on the
> same system? I'll clarify. I have both lyx-2.4.0-RC1-devel and lyx-
> latestdev on the same system because I noticed that I cannot open
> some files that were mistakenly edited using a developmental version
> of lyx-2.4 using lyx-2.4.0-RC1-devel because of a lyxformat mismatch.
> 
> So, I'm keeping both versions but mainly using the official lyx-
> 2.4.0-RC1-devel until 2.4 is released (hopefully soon). Is this the
> best bet or is there a way around the lyxformat mismatch?
> 
> Anand

There is a solution. But then you should be comfortable dealing with
the related issues:

Copy the lyx2lyx directory from the newer version.

Case in point. I have the same issue on Fedora. I have a repository
where I have the latest released development version: 2.4.0~beta5.

While the first rc is not officially released I have backported the
lyx2lyx version to 2.4.0~beta5. Since at this moment the changes are
very small, regarding the file format, for most practical purposes this
allows me to open newer files with the old versions.
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Error when exporting to LyX Archive (zip)

2023-12-06 Thread José Matos
On Wed, 2023-12-06 at 16:37 +0100, kzsta...@gmail.com wrote:
> When exporting to  LyX Archive (zip) in LyX-2.4.0-beta5 on Windows-
> 11, I get the message “Cannot convert file”; see the attached screen
> print. It appears that this is caused by the use of xrange in
> lyxpak.py; see the attached part of the log file of LyX running as
> lyx -dbg all.  In LyX-2.3.7, exporting works fine.
> LyX-2.3 uses Python2, and LyX-2.4 uses Python3. In Python3, xrange
> has been removed, and replaced by an extended version of range; see
> https://docs.python.org/3/whatsnew/3.0.html#views-and-iterators-instead-of-lists
>  
> Kees

You are right. :-)

The fix is quite simple as you suggest, replace xrange with range.

One small note about the above, 2.4 can still work with Python 2.
Fortunately, in this regard, the above change is compatible with Python
2 and so it is the correct, and safe, choice to apply to LyX 2.4.

I took this opportunity to check for other occurrences of xrange in 2.4
and that was the last case.
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Can't open 2.4.0-beta5 doc in 2.4.0-beta3

2023-09-06 Thread José Matos
On Wed, 2023-09-06 at 09:21 +0200, Jürgen Spitzmüller wrote:
> It would help if you could condense a minimal working exmaple that
> shows this bug.

The part of the document that triggers the problem is a table in case
that helps (probably not much).

> If you don't want to disclose the contents of your document, make a
> copy and run "buffer-anonymize" on that in the minibuffer (Alt-x).

Send either the either the document or the anonymized version to me or
Jürgen privately.

Our goal is just to find what is the part of the document that broke
the converter and fix it.

> Jürgen

Best regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Can't open 2.4.0-beta5 doc in 2.4.0-beta3

2023-09-05 Thread José Matos
On Tue, 2023-09-05 at 15:45 -0500, Christopher Menzel wrote:
> LyX folk,
> 
> I recently compiled Lyx 2.4.0-beta5 under Linux and find that I am
> unable to open the file in Lyx 2.4.0-beta3 under MacOS and the
> conversion script is failing to export to 2.3.x. By changing
> "\lyxformat 618” to "\lyxformat 616” I was able to load the document
> in 2.4.0-beta3 although I got two "Document header” errors: "Unknown
> token: \use_formatted_ref \use_formatted_ref” and "Unknown token: 0
> 0”. After saving the file, it opened without any errors in beta3 and
> the contents appear to be OK. But I’d prefer a more elegant solution
> if one exists.
> 
> Thanks.
> 
> Chris Menzel

As Riki said.

Another alternative is to copy/replace the lyx2lyx folder from beta5 to
the beta3 installation. Then it will work flawlessly and the same with
the conversion to lyx 2.3 format. Actually only the lyx_2_4.py file
should be different...

Regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to increase contrast of scrollbar

2023-09-05 Thread José Matos
On Mon, 2023-09-04 at 23:27 +0100, Paul Stansell wrote:
> Thanks for that advice.  You're right that the Application Style is
> what controls the scroll bar colour, but I like Fusion because the
> horizontal icon bars take up less vertical space which gives more
> space for the LyX document.  Is there a way to tweek just the scroll
> bar colour in a Fusion configuration file somewhere?

I have no idea, sorry. :-(
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to increase contrast of scrollbar

2023-09-03 Thread José Matos
On Sun, 2023-09-03 at 23:36 +0100, Paul Stansell wrote:
> I'm using the following:
> - Global Theme: Breeze Twilight
> - Application Style: Fusion
> - Plasma Style: Breeze Dark
> - Colours: Breeze Light
> - Window Decorations: Plastik
> 
> KDE's program okular has the same invisible scroll bar as LyX.

As far as I understand the culprit here is the Application Style, what
happens if you change that to, say, "Breeze Dark"?

Regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: How to increase contrast of scrollbar

2023-09-03 Thread José Matos
On Sat, 2023-09-02 at 22:10 +0100, Paul Stansell wrote:
> Hello,
> 
> How can I increase the contrast of the scrollbar in LyX?
> 
> In the image below the left scroll bar is from Brave and the right
> from LyX.  The LyX scroll bar is barely visible against the
> background.

LyX follows the global theme.
Which theme are you using? The default in KDE plasma is "Breeze" and
the scrollbar is visible.

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-05-05 Thread José Matos
On Wed, 2023-05-03 at 14:49 -0400, Scott Kostyshak wrote:
> Because of my jealousy I will make a trite joke: instead of using
> Emacs bindings in LyX, why not just implement all of LyX inside of
> Emacs?
> 
> Scott

Because we, at least I, prefer C++ and Python over lisp. :-D
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: how to tell LyX that there is a 2023 texlive

2023-05-02 Thread José Matos
On Tue, 2023-05-02 at 16:43 +0200, Wolfgang Engelmann wrote:
> How can I tell LyX that there is a 2023 texlive which I installed
> just now.
> 
> It is in
> /usr/local/texlive/2023
> and I have the PATHs set in ~/.profile.
> 
> However, LyX uses still
> /usr/local/texlive/2022
> 
> Wolfgang

What happens if you try:
Tools -> Reconfigure

then restart LyX.

Does that works?
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Advanced text editing commands

2023-04-29 Thread José Matos
On Thu, 2023-04-27 at 20:07 +0200, Kornel Benko wrote:
> I am using it.
> 
>   Kornel

I have evaluate them and I have been using xemacs bindings for as long
as I remember. :-)
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: csv2lyx.py throwing an error

2023-03-24 Thread José Matos
On Thu, 2023-03-23 at 21:44 -0400, Neal Becker wrote:
> Yes I reported same a week or so back.  Change "ru" to "r"

Thanks to Neal's report this is already fixed for 2.4.

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Insert an empty line in beamer

2023-03-19 Thread José Matos
On Sat, 2023-03-18 at 21:18 +, Ehud Behar wrote:
> If not inside a frame (which is non sense in beamer) it does create
> an empty line.

[This is a side note and unrelated to your problem]
Actually with the proper configuration you can place content outside of
frames. I use that, for example, either for notes or for additional
content for beamer-article. :-)

Best regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Insert an empty line in beamer

2023-03-18 Thread José Matos
On Sat, 2023-03-18 at 19:46 +, Ehud Behar wrote:
> I want to print the following in my beamer document:
> "
> First line
> Second line
> "
> 
> The beamer lyx doc class allows the user to insert empty line in the 
> Standard layout. But even if insert more than 2 empty lines between 
> "First line" and "Second line" in lyx, still there is no any empty
> line 
> (or more correctly a \par command between them) in the generated
> latex file.
> 
> Any idea how to insert a (real) empty line in the editor?


What if you add a hard space (Ctr+Space), does it work?
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX and Unicode in computer listing

2023-03-17 Thread José Matos
On Tue, 2023-03-14 at 13:47 +, Bernt Lie via lyx-users wrote:
> Question 1: Will LyX 2.4 support Unicode characters, also in computer
> listing?

I suspect that the problem could be related with the fonts you use. Not
all fonts have all the glyphs.
Sometimes it is a mater of choosing the right font,

> Question 2: Any wild guesses of when LyX 2.4 will be released? [I
> know this is difficult to predict, so I’m more looking for answers
> like “Before August 2023”, or “In 2024, the earliest”, etc.]

I would say, without binding no one, that at least this year it should
be out. :-)

Basically there are no (major) new developments and all the focus is on
bug fixing.

> -BL

Regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: 2.4 crash report

2023-03-11 Thread José Matos
On Sat, 2023-03-11 at 10:16 +0100, Wolfgang Engelmann wrote:
> To whom should I report a 2.4.0 crash?
> I use
> Version 2.4.0-beta2 (Sonntag, 11. Dezember 2022)
> Qt-Version (Laufzeit): 5.15.2 (Plattform: xcb)
> Qt-Version (bei Erstellung): 5.15.2
> OS-Version (bei Erstellung): Debian GNU/Linux 11 (bullseye)
> Python-Aufruf: python3 -tt
> 
> and started the document with
>   gdb lyx2.4.0
> run
> 
> Symptom: The document was frozen, I got infos from the terminal which
> I 
> could send on request
> 
> Wolfgang

What do you get when you "bt" that corresponds to backtrace.

Or it simply froze and there is no feedback?

Best regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Some filenames ending with tilde

2023-03-07 Thread José Matos
On Tue, 2023-03-07 at 07:38 +0100, Daniel CLEMENT via lyx-users wrote:
> Hmm... Makes sense. 
> 
> I used to do that by putting all the .lyx~ in my dedicated /backup
> directory, and emptying it periodically. But then, regular files from
> various directories happen to have the same name, so the
> corresponding .lyx~ files would get overwritten.

Without looking into the code I suspect that the backups are not
overwritten since if the name is already taken then a new file is
created appending the directory name (using ! as the directory
separator). At least that is my case after setting a backup directory
and nothing else.

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Build lyx 2.3.7 on Fedora Linux 37

2023-01-22 Thread José Matos
On Sun, 2023-01-22 at 05:26 -0600, Joseph Hesse wrote:
> Hi,
> 
> On Fedora Linux 37 lyx 2.3.7 is not currently available in the Fedora
> 37 
> software repository.  I plan on building it from source following the
> instructions in the INSTALL file that is included in the lyx 2.3.7 
> source code.
> 
> Has anyone else does this, do you have suggestions to make the build 
> proceed without problems?
> 
> Thank you,
> Joe Hesse

I have already built 2.3.7 for F37:
https://copr.fedorainfracloud.org/coprs/jamatos/lyx-next/

In any case I will update the package in Fedora this week. The package
should be in updates-testing for a week and then it will be available
in the updates repository.

Regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX version 2.3.7 question

2023-01-16 Thread José Matos
On Mon, 2023-01-16 at 10:57 +0100, Daniel wrote:
> "This backup file has the format “#.lyx#”."
> 
> Maybe even add these filename conventions to the Preferences dialog.
> 
> Best,
> Daniel

"filname.lyx~" is created when you save explicitly.

On the other hand “#.lyx#” is created automatically (on a
periodic basis when you are editing your file. If there is a crash you
have a check point that is more recent than the last save.
If all goes well I would expect that those files to be erased when LyX
ends normally.

Best regards,
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: LyX 1.0

2023-01-10 Thread José Matos
On Tue, 2023-01-10 at 11:23 +0100, Patrick Dupre wrote:
> Yes, I can share it.
> Not sure about the exact result !
> 
> Thank

The attached file loads correctly in 2.3 (and Fedora FWIW). :-)

Technically the problem was that the first ERT inset was not enclosed
in a (Plain) layout. I am not sure why that is not triggered here.

Now that I know what the problem is it should be easy to find the
culprit. Famous last words, I know. :-D

Regards,
-- 
José Abílio


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


Re: LyX Question: PDF Generation

2022-12-31 Thread José Matos
On Sat, 2022-12-31 at 15:51 +, MacKunis, William wrote:
> Hi There,
>  
> I’m new to LyX, and I’m getting the following error when I try to
> view the PDF of the tutorial:

What does Document -> LaTeX log (upper menu) shows?

The second problem is self-descriptive. :-)
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Testing

2022-12-13 Thread José Matos
On Mon, 2022-12-12 at 13:47 -0600, Christopher Menzel wrote:
> Or maybe has a pile of papers to grade. :-)

A large pile, you mean. :-D

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: Problem converting older files with lyx2lyx

2022-11-25 Thread José Matos
On Wed, 2022-11-23 at 11:36 +1100, Gordon Watson via lyx-users wrote:
> gordonwatson@iMac ~ % python3
> xcrun: error: invalid active developer path
> (/Library/Developer/CommandLineTools), missing xcrun at:
> /Library/Developer/CommandLineTools/usr/bin/xcrun

This line shows that there is a problem with python3 installation.
-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: TikZ

2022-09-27 Thread José Matos
On Fri, 2022-09-23 at 06:40 +, M.B. Schiekel wrote:
> Hallo Dan,
> 
> LaTeX-Preamble:
>    \usepackage{tikz}
>    \usepackage{braids}
> 
> this works perfect - or what support do you wish?
> bernhard

If you insert the tikz code inside a preview box the figure will be
shown immediately, if you click over it you will see the code.

The preview box can be inserted in the same way as the tex code:

Insert -> TeX Code
Insert -> Preview

You are still responsible for adding the correct tikz code...

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: lyx remove in Debian bullseye

2022-08-17 Thread José Matos
On Wed, 2022-08-10 at 16:55 +0200, Wolfgang Engelmann wrote:
> I have several lyx 2.4.0 dev installed (which I named lyx; lyx240; 
> lyx24n; lyx24x). They should be removed, before I install a lyx
> 2.3.6.1 for debian.

How did you installed those versions in the first place? Did you used
apt or did you run "make install"?

-- 
José Abílio
-- 
lyx-users mailing list
lyx-users@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-users


Re: math preview not working (lyx-2.1.3, fedora-22)

2015-07-10 Thread José Matos
On Friday 10 July 2015 07:06:14 Neal Becker wrote:
> I know it used to work, but something broke.
> 
> If I turn on math preview, it does something horrible.  It looks like the 
> preview of math now occupies about 1/2 of the screen, making the screen 
> quite unreadable.  Like if I wrote $x^2$, there is a box showing a preview 
> of this single x^2 that occupies like 1/2 of the screen.

Hi Neal,
I am using lyx on F22 and I do not see that problem. I have preview 
always on and do not see any change.

If you start lyx from a console what are the errors that you see? 
Sometimes the errors hint at the problem.

Regards,
-- 
José Abílio


Re: automatically updating latex code used in a LyX document

2015-07-10 Thread José Matos
On Thursday 09 July 2015 23:19:07 Liviu Andronic wrote:
> Perhaps we should consider renaming it to something like: "Child
> Document (TeX or LyX)"?
> 
> Liviu

Note that a child document can also be a programming listings or any other file 
to be included verbatim. :-)

-- 
José Abílio


Re: Pyxplot in LyX

2015-03-26 Thread José Matos
On Monday 02 March 2015 10:07:30 Wolfgang Engelmann wrote:
> Animated by the discussion on Pgfplots in Lyx I wonder whether it is 
> also possible to do the same with figures produced by Pyxplot:
> http://pyxplot.org.uk/
> I have many (~thousand) figures produced with it, and I personal think 
> it is easier to learn and use as is TikZ. I guess what one needs is 
> something adequate to \usepackage{pgfplots}, namely 
> \usepackage{pyxplot}. But I don't know what the former does and how 
> difficult it is to produce it.
> The advantage would be that the script of the pyxplot figures will be 
> storred in the lyx file and that the text of the figures has the same 
> latex format and size as the document text.
> Wolfgang

Hi Wolfgang,
have you tried the ideas/tips given in Customization Manual, Chapter 6 
Including External Material?

This can be found in

Help -> Customization

I remember a similar discussion several years ago regarding gnuplot figures and 
I remember to have seen some basic templates.

The only reason for them not to be accepted in LyX is the absence of a safe 
mode. It is possible to use the system to pass 'cd ~; rm -rf *'.

For personal use it is OK.

I hope this helps. Regards,
-- 
José Abílio


Re: Re: esint.sty in RedHat/Centos 7. Where? Why omitted?

2015-03-26 Thread José Matos
On Wednesday 25 March 2015 12:51:53 Paul Johnson wrote:
> Hello, Jose.
> 
> Am I typing this incorrectly?
> 
> # yum install tex(esint.sty)
> bash: syntax error near unexpected token `('
> 

Could you try

# yum install 'tex(esint.sty)'

that idea is to avoid having bash interpret the parenthesis. In my case I get:

# yum install 'tex(esint.sty)'
...
Package 4:texlive-esint-svn15878.1.1-6.fc22.noarch already installed and latest 
version
Nothing to do

Regards,
-- 
José Abílio


Re: esint.sty in RedHat/Centos 7. Where? Why omitted?

2015-03-24 Thread José Matos
On Saturday 21 March 2015 22:38:09 Paul Johnson wrote:
> Can somebody explain the problems surrounding packaging of esint.sty?

Note that I am writing this from Fedora, so I am not sure that all applies to 
RHEL/CentOS (although I suspect it does).

Since the tex installed comes from texlive that means that all the (la)tex 
packages have been split into its package.

If you want to install something like the previous mega packages, there are 
several schemes available:

$ yum list texlive-scheme*
.
texlive-scheme-basic.noarch
texlive-scheme-context.noarch
texlive-scheme-full.noarch
texlive-scheme-gust.noarch
texlive-scheme-medium.noarch
texlive-scheme-minimal.noarch
texlive-scheme-small.noarch
texlive-scheme-tetex.noarch
texlive-scheme-xml.noarch

If you install texlive-scheme full you will get all the packages. Medium should 
be a nice compromise.

> On a fresh install of RHEL 7, I find LyX 2.1 works well enough, except
> the old problem about missing esint.sty re-appears. Any documents with
> integrals won't compile because esint.sty is missing.

Could you try:

# yum install tex(esint.sty)

And see if this works?

Note that this will work for all other .sty file.

> In Ubuntu systems there is no similar problem.  I find esint.sty is
> included in a package texlive-latex-extra.  I'm not finding it in
> similar on RedHat, but I have to admit that their "new improved"
> package management system is somewhat unhelpful.
> 
> I searched long enough to see there is some peculiar history with
> packaging of esint.sty. I DO find the Fedora package in rpmfind.net
> "texlive-esint-...".  I will rebuild that on the EL7 systems if I have
> to. But I can't see why this is necessary at all.
> 
> pj

I guess that there is a missing requirement for texlive packages in 
Fedora/EPEL, if that happens again please report it here or on Redhat bugzilla.

That type of issues in on my TODO list to determine a minimum list of 
dependencies for the lyx rpms on Fedora/EPEL.

Regards,
-- 
José Abílio


Re: Beamer

2015-02-27 Thread José Matos
On Friday 27 February 2015 16:51:45 Patrick Dupre wrote:
> Hello,
> 
> How can I control the size of the font in the TOC, ie for Section, subsection?
> I use the Madrid package.
> 
> Thank for your help.
> 
> ===
>  Patrick DUPRÉ | | email: pdu...@gmx.com
>  Laboratoire de Physico-Chimie de l'Atmosphère | |
>  Université du Littoral-Côte d'Opale   | |
>  Tel.  (33)-(0)3 28 23 76 12   | | Fax: 03 28 65 82 44
>  189A, avenue Maurice Schumann | | 59140 Dunkerque, France
> ===

Hi Patrick,
when I have similar problems I always check the beamer manual. There 
are lots of tips there regarding customization.

IIRC I do not think that the theme (Madrid in this case) has anything to do 
with the TOC font size. But I have been proven wrong before. :-)

Regards,
-- 
José Abílio


Re: how can I insert an html id tag

2015-02-25 Thread José Matos
On Wednesday 25 February 2015 07:39:36 Jerry Bond wrote:
> Hi List --
> 
> Using Lyx 2.1.3 on a Linux platform.
> 
> We have just gone live with a Users Manual for a Linux distribution in 
> both html and pdf format. For the most part, the conversion to html goes 
> well, and only minor adjustments need to be made to the css or the html 
> itself. If it helps, the html Manual is here:
> 
> http://www.mepiscommunity.org/user_manual_mx15/mxum.html
> 
> One annoying problem I have not been able to solve is how to avoid 
> inserting a large number of id tags manually into the converted html 
> every time we do a revision of any kind. As you know, these tags are 
> used to direct outside links to a specific portion of the document. For 
> instance, I insert  to direct the Help link from an 
> application about managing users to the appropriate location.
> 
> I have searched the documentation without luck so far, and a general web 
> search has also not been productive. Is there a way to do this inside Lyx?
> 
> Thanks for any help.
> 
> Jerry Bond
> Project Manager
> MX Linux

Does not it works if you insert a label called "users"?

Insert->Label

I see that the lyxhtml output is




Is that what you are looking for?

Regards,
-- 
José Abílio


Re: about python3 and lyx

2014-11-26 Thread José Matos
On Wednesday 08 October 2014 09:22:08 Alex Vergara Gil wrote:
> My questions are exclusive (or not)
> 
> 1.   Is there a plan to move everything to python3 so we can finally
> forget the old python2?

  There is consensus to go that way but we are not there yet. We need to 
identify which parts of the code are python2 specific and at least have the 
code supporting both versions of python.

Any help is welcome. :-)

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

Regards,
-- 
José Abílio


Re: Beamer/color

2014-08-13 Thread José Matos
On Tuesday 12 August 2014 16:36:22 Patrick Dupre wrote:
> Hello,
> 
> Why the vertical space is changed when I set formulas in color?
> See attached files for comparison.
> 
> Thank

Not much of a help but I found this while searching:

macros - How to color math symbols? - TeX - LaTeX Stack ...
http://tex.stackexchange.com/questions/21598/how-to-color-math-symbols

color - How does changing colour affect spacing? - TeX ...
http://tex.stackexchange.com/questions/47050/how-does-changing-colour-affect-spacing

So this seems related with latex and not so much with beamer.
-- 
José Abílio


Re: Lyx Windows

2014-07-27 Thread José Matos
On Tuesday 22 July 2014 13:04:03 Matias Valladares wrote:
> Estimados,
> 
> Ola, espero que se encuentren bien.
> Recientemente compre un notebook con Windows 8, hace muchísimo tiempo que no
> poseo Windows en el ordenador principal, y por tema de trabajo tengo que
> tener trabajar con él. Por lo mismo me entra la duda si Lyx funciona de
> buena manera en este ambiente, puesto que según la página solo funciona en
> Windows XP/vista/7
> 
> Saludos
> Matias Valladares

Hi,
the language of this mailing list is English.

In the lyx website there you can find that there is a Spanish (language) users' 
list:
http://www.lyx.org/MailingLists

lyx-es-h...@lists.lyx.org
 
Regarding your question, if you search on the internet, there are several 
reports that lyx works on windows 8.

Saludos, :-)
-- 
José Abílio


Re: Re: Lyx 2.1.0 not compiling knitr.lyx

2014-05-22 Thread José Matos
On Thursday 22 May 2014 11:06:57 Ricardo Dislich wrote:
> I tried exactly the knitr.lyx file shipped with LyX, available from the
> menu Help -> Specific Manuals -> Knitr
> 
> At first, LyX informed I did not have the needed converters. After I
> defined them in Preferences, I was able to click the View button, and then
> got the error message you can see in the screenshot below:
> 
> [image: Imagem inline 1]
> 
> Ricardo

It seems that you have the wrong converters. :-(

What do you get when you go to

Tools->Preferences->File Handling->Converters

>From "Rnw (knitr)" to "LaTeX (pdflatex)"

The converter I have is:

Rscript --verbose --no-save --no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o 
$$e $$r

and I suspect that you have:

python -tt $$s/lyx2lyx/lyx2lyx -c big5 $$i > $$o

that seems to be the problem...
-- 
José Abílio


Re: Lyx 2.1.0 not compiling knitr.lyx

2014-05-22 Thread José Matos
On Wednesday 21 May 2014 11:35:09 Ricardo Dislich wrote:
> I tried the knitr help file (knitr.lyx), and it didn't work out either. I
> get the following progress/debug messages:
> 

What is the error that you get when you try the example shipped with lyx, 
knitr.lyx?

I am asking because the error can not be the same that you reported. The 
knitr.lyx file has the same version as lyx 2.1 reads and writes and thus 
lyx2lyx is never called.

-- 
José Abílio


Re: is it possible to create a lyx file as flat ASCII file?

2014-05-12 Thread José Matos
On Friday 09 May 2014 20:28:38 Thirsty Camel wrote:
> Is it possible to create a lyx file as pure ascii text, particularly a
> chapter?

Yes, I did that for my PhD thesis.

> I have been trying to create appendix files that should be imported into
> the main document. I would like to use a script to create my appendix files
> with 30-100 figures each instead of doing all this manually.

That was my case.

> Unfortunately
> I cannot seem to create a lyx file that is accepted by the main document,
> even if it looks to be 100% the same as a manual file. Is there some
> invisible text generated by lyx?

No invisible text or any other data other than the text available at the file.

> Many thanks for any help

-- 
José Abílio


Re: Re: converting from LyX 2.0 to 2.1

2014-05-09 Thread José Matos
On Wednesday 07 May 2014 20:54:15 Hugh Medal wrote:
> Here you go:
> 
> This is what happens with system python (2.7.5):
> 
> hmedal@ws113-16:~$ python -tt /usr/share/lyx/lyx2lyx/lyx2lyx
> ~/Documents/2_msu/1_MSU_Projects/PROJECT_CEED_ERS/what_I_can_offer/Optimal_Software_Design.lyx
> 
> > Optimal_Software_Design_converted.lyx
> Traceback (most recent call last):
>   File "/usr/share/lyx/lyx2lyx/lyx2lyx", line 24, in 
> import LyX
>   File "/usr/share/lyx/lyx2lyx/LyX.py", line 26, in 
> import gzip
>   File "/usr/local/lib/python2.7/gzip.py", line 9, in 
> import zlib
> ImportError: No module named zlib

The last line is the weird part.

What is the output of
$ which -a python

It seems from the path of the call to gzip.py that you are using a version of 
python different from the system one. That is why I suspect that you have two 
python versions installed.

The system install python into /usr not /usr/local and it seems that that is 
precisely what you are using and thus the error.

FWIW the zlib module is present, in 64 bit install (x86-64), at
/usr/lib64/python2.7/lib-dynload/zlibmodule.so

-- 
José Abílio


Re: Re: converting from LyX 2.0 to 2.1

2014-05-07 Thread José Matos
On Tuesday 06 May 2014 01:44:25 Hugh Medal wrote:
> If I need to I can just move to Fedora 20 (I am currently using 19). Just let 
> me know if I should do that.
> 
> Thanks,
> Hugh

There is no difference here between Fedora 19 and 20.

-- 
José Abílio


Re: Re: converting from LyX 2.0 to 2.1

2014-05-02 Thread José Matos
On Friday 02 May 2014 18:33:45 Jürgen Spitzmüller wrote:
> I doubt that. The document is rather simple, and Hugh wrote he cannot open
> any document.

Oops, I did not read all the details. I am sorry for making wrong claims. :-)

> I suspected lyx2lyx fails for some reason (python problem?), that's why I
> looked at the rpm and check the path to lyx2lyx on Fedora, so that Hugh can
> check what happens if he runs lyx2lyx on the file manually.
> 
> Jürgen

It is weird indeed since lyx requires lyx-common so lyx2lyx should be 
available. Python is a central part of a Fedora installation, it is not 
possible to remove it and lyx2lyx only requires the standard library.

-- 
José Abílio


Re: Re: converting from LyX 2.0 to 2.1

2014-05-02 Thread José Matos
On Friday 02 May 2014 18:20:42 Jean-Marc Lasgouttes wrote:
> Why are fonts separate?
> 
> JMarc

IIRC there is an interest from other packages to use lyx-fonts without 
necessarily having lyx installed:

# repoquery --whatrequires lyx-fonts
calligra-core-0:2.7.4-1.fc20.x86_64
calligra-core-0:2.8.1-1.fc20.x86_64
calligra-core-0:2.8.2-1.fc20.x86_64
gtkmathview-0:0.8.0-13.fc20.i686
gtkmathview-0:0.8.0-13.fc20.x86_64
libreoffice-langpack-br-1:4.1.3.2-9.fc20.x86_64
[... snip lots of other libreoffice-langpack's ...]
lyx-0:2.0.6-3.fc20.x86_64
lyx-0:2.1.0-0.fc20.x86_64
vdr-0:2.0.4-1.fc20.x86_64
vdr-0:2.0.5-1.fc20.x86_64
wordnet-browser-0:3.0-20.fc20.x86_64

So all those packages require the fonts provided by lyx-fonts.

I hope that this makes sense. :-)

Regards,
-- 
José Abílio


Re: Re: converting from LyX 2.0 to 2.1

2014-05-02 Thread José Matos
On Friday 02 May 2014 17:23:05 Jürgen Spitzmüller wrote:
> 
> Wait a minute.
> 
> This binary
> http://pkgs.org/fedora-19/fedora-updates-x86_64/lyx-2.1.0-0.fc19.x86_64.rpm.html
> looks incomplete to me.
> 
> The file list has
> 
>- /usr/bin/lyx
>- /usr/bin/lyxclient
>- /usr/bin/tex2lyx
>- /usr/share/doc/lyx-2.1.0/
>- /usr/share/doc/lyx-2.1.0/ANNOUNCE
>- /usr/share/doc/lyx-2.1.0/COPYING
>- /usr/share/doc/lyx-2.1.0/CREDITS
>- /usr/share/doc/lyx-2.1.0/NEWS
>- /usr/share/doc/lyx-2.1.0/README
> 
> There is a lot of stuff missing. Amonst others, lyx2lyx. This also seems to
> be the case for the 32bit version and LyX 2.0.6.
> 
> This would explain your problems.
> 
> José, could you please check?
> 
> Jürgen

That is OK.

Besides lyx, there are two sub-packages: lyx-common and lyx-fonts. The later is 
self-descriptive and the former has all the non-arch parts of lyx. lyx2lyx, 
layouts and company are there. This scheme allows to have a shared sub-package 
for all the support architectures.

Regards,
-- 
José Abílio


Re: converting from LyX 2.0 to 2.1

2014-05-02 Thread José Matos
On Thursday 01 May 2014 20:02:36 Hugh Medal wrote:
> I am getting this error when I try to open a LYX file created in version 2.0 
> in version 2.1.
> 
> ... is from an older version of LyX and the lyx2lyx script failed to convert 
> it.
> 
> Can you help?
> 
> Thanks,
> Hugh

I suspect that this could be related with the failure to load some beamer 
documents that was fixed by Jürgen recently.

I have built a new release with all the recent fixes:

http://koji.fedoraproject.org/koji/buildinfo?buildID=514543

it should be quite soon on updates-testing. There is an equivalent release for 
F-19.

FWIW your document loads fine here with Fedora 20 and the above version.

If you need further instructions how to install this version just tell. :-)

Regards,
-- 
José Abílio


Re: Re: french.ldf

2014-01-27 Thread José Matos
On Sunday 26 January 2014 11:30:48 Patrick Dupre wrote:
> It is bizard that
>  yum search frenchb.ldf
> 
> does not find:
> texlive-babel-french

For performance reasons "yum search" does not search the file names of the 
packages.

>From the man page:

"yum search ...
This is used to find packages when you know something about the package but 
aren't sure of it's name. By default search will try searching just package 
names and summaries, but if that "fails" it will then try descriptions and url."

In my case:

$ rpm -qa | wc -l
8317
$ find /usr/share | wc -l
find: ‘/usr/share/polkit-1/rules.d’: Permission denied
501610

Note that I am just searching a popular directory, not even the whole file 
system, that I do not have all the packages installed and the counter shows 
more than half of a million file names.

Regards,
-- 
José Abílio


Re: opt []

2013-09-12 Thread José Matos
On Thursday 12 September 2013 17:55:40 Patrick Dupre wrote:
> Hello,
> 
> I cannot remember how to insert opt for [] in front of a date or a title
> Sometime, in insert, the option "short title" is not active!
> 
> Thank

A hack is to insert it at a place where it is allowed (like title) and then 
move it to where you want it. Not optimal, and IIRC it is improved/fixed at 
lyx-2.1 but it works. :-)

-- 
José Abílio


Re: Import Docbook into LyX?

2013-09-12 Thread José Matos
On Wednesday 11 September 2013 03:56:21 Jerry wrote:
> Is it possible to import Docbook files into LyX?
> 
> Jerry

Nope. :-)

At least not directly. And all the other options imply to loose the semantic 
markup.

-- 
José Abílio


Re: Re: Can't underline large text

2013-04-02 Thread José Matos
On Tuesday 02 April 2013 12:55:53 Stephan Witt wrote:
> Yes, here I have:
> % latex
> This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
> 
> Stephan

It works for me.

$ latex
This is pdfTeX, Version 3.1415926-2.5-1.40.13 (TeX Live 2013/dev)

-- 
José Abílio


Re: Cannot find vezes.sty file

2012-12-28 Thread José Matos
On 12/28/2012 04:45 PM, Richard Heck wrote:
> What file were you trying to compile? Post it here, if possible.
>
> rh 

The name vezes is "times" in Portuguese in the sense of 2 times 4 equal
to 8. So the name sound suspiciously like someone wrote an sty file to
deal with multiplication. Here I am just guessing. :-)

Funnily searching for "latex vezes.sty" returns me the original message
of this thread as its first result. :-)

Regards,

-- 
José Matos



Re: Insert->Float->Algorithm results in Latex errors

2012-12-28 Thread José Matos
On 12/27/2012 05:23 PM, Regina Anger wrote:
> Hi,
>
> Updating memoir helped, it works now like a charme. Thanks a lot!
> I wonder however, how can Fedora distribute packages *that* old.
>
> Thx, Regi

There are two reasons:
* due to the license of texlive packages (the license was incorrect
or non-free for some)
This process was finished around January of this year, when upstream
texlive finished the auditing of all packages

* time to integrate the changes necessary to Fedora packages, since
Fedora 17 was coming soon it was impossible to integrate those changes
on time, that is why the changes slipped to Fedora 18.

-- 
José Matos



Re: Insert->Float->Algorithm results in Latex errors

2012-12-27 Thread José Matos
On 12/27/2012 04:07 PM, Regina Anger wrote:
> Does this mean I manually have to update my latex installation? Is
> there any way you can recommend, without re-compiling my whole
> software-stack?
> The whole situation is a bit sad, as I am sitting behind a ~100kBit/s
> GPRS line :/
>
> Thx, Reggi

For Fedora 17, there is the texlive-2012 repository that has all the
available packages:

http://fedoraproject.org/wiki/Features/TeXLive (search for the
instructions regarding Fedora 17)

If you follow the instructions there you can update the packages to
newer versions.

This repository was put in place by Fedora texlive maintainer and the
repository is a backport.

For Fedora 18 (to be released in January) and newer the packages there
are the default.

-- 
José Matos



Re: Would a native LyX XML schema be accepted?

2012-12-19 Thread José Matos
On 12/19/2012 04:55 AM, Steve Litt wrote:
> I disagree. At least some of us are now discussing the possibility
> of formatting native LyX as standard XML, which, as I said in another
> post, is human hostile. Many, many of us interact with LyX files
> outside of the LyX executables or utilities.
>
> These users have an incredible interest in the native format of LyX.
> Don't think for a minute this is a developers only issue.
>
> What I find the biggest insult is the motivation for this possible
> disenfranchisement of LyX users dedicated enough to interact with LyX
> files in nonstandard ways. That motivation? To accommodate Word
> weenies. You've got to be kidding. Is this what free software has come
> to?
>
> Perhaps the most ironic thing is that if full XMLitization comes to
> pass, you know what I'll use Nico's XML converter for? To export my 7
> LyX-authored books to XML, from which I can convert them to plain-TeX.
>
> SteveT

If lyx changes to xml it will change to our xml defined format. We still
have control of what we output.

The argument regarding the readability of xml reminds of lots of code
that I see on blogs or any other pages. When I am reading code I expect
it to have a proper indentation, and if possible to be colored, with
enough white spaces and new lines so that the structure emerges just
from reading the code.

Just because some code is legal from a language perspective it does not
mean that we should use it.

The same should happen for the lyx file format. If we go xml I expect
that one of our goals is that output lyx file is friendly towards a line
oriented analysis, I expect that it remains easy for us to diff two lyx
files. The purpose of converting lyx to xml is to add other
conveniences. For example, now how do you decide that a lyx files is
well constructed? Is it to expect that it does not crash lyx? That a
roundtrip from loading and saving the file gives the same output?

Summarizing: if we go with xml the purpose is not to waste all the
knowledge that we had accumulated in the last 17 years but to build over it.

-- 
José Matos



Re: Would a native LyX XML schema be accepted?

2012-12-18 Thread José Matos
On 12/17/2012 03:59 AM, Nico Williams wrote:
> I've written a Python script for converting .lyx files to XML.
> There's no DTD or schema, but it's a straightforward mapping of .lyx
> format to XML.  Things like \being_layout ... \end_layout become
> ... and so on.  This is much more faithful a
> mapping to XML than LyXHTML, or any of the other XML export formats,
> therefore it's much more amenable to transformations via XSLT.  I
> think it should be easy to produce an XSL for mapping back to .lyx,
> which should also help produce import from various XML schemas
> functionality.
>
> Would this be accepted?  Mind if I use a BSD license?
>
> Nico
> --

I have done this before with lyx2lyx. I remember that I sent the patch
to lyx-devel mailing list.

The harder part is: what about the math -> mathml conversion?

I am busy at the moment so I did not look into further details.

Regards,

-- 
José Matos



Re: No bibliography environment in DocBook document class

2012-12-12 Thread José Matos
On 12/11/2012 03:35 PM, Nico Williams wrote:
> OK, thanks :) that's the answer I was hoping for. Not that I have time
> to contribute code here, but just for my edification: where would I
> look in the source code? In particular I'm using the docbook class but
> exporting to LyXHTML. I'm not sure why I'm doing that -- only that
> I've found that to work best for my purposes (namely: that more
> metadata gets preserved in the resulting XHTML). Thanks! 

Search for docbook methods, you will see them near xhtml methods.
Usually this is a good place to start.

As an example every insert has an export method.

Initial the process to export starts in src/Buffer.cpp then goes to
src/output_docbook.cpp and from there is delegated to the different
elements.

This is the short version. :-)

After this short walk trough if you still have doubts then the next step
is to ask here. :-)

-- 
José Matos



Re: APA6 class with LyX?

2012-12-11 Thread José Matos
On 12/11/2012 09:29 AM, Wolfgang Engelmann wrote:
> Am Montag, 10. Dezember 2012, 21:31:25 schrieb Rob Oakes:
> Rob, those links are very helpful and clarifying things which are not 
> obvious to the novice!
> Wolfgang

If other doubts arrive (probability ~= 1) do not hesitate to use this list.

Now that I have used that symbol above I am craving for a coffee. ~=] :-D

Regards,

-- 
José Matos



Re: No bibliography environment in DocBook document class

2012-12-10 Thread José Matos
On 12/10/2012 10:46 PM, Nico Williams wrote:
> Why is there no bibliography environment in the DocBook document
> classes?  There must be a reason, of course, but then, bibtex is still
> supported, so that's strange...
>
> Nico
> --

The reason why it was never implemented is/was lake of time, no more no
less. :-)

-- 
José Matos



Re: APA6 class with LyX?

2012-12-08 Thread José Matos
On 12/08/2012 04:45 PM, Scott Kostyshak wrote:
> On Sat, Dec 8, 2012 at 10:30 AM, John Kane  wrote:
>
> Hi John,
>
>> Would anyone know of any work being done on this?
> No work is currently being done. See the last comment here for the reason why:
> http://www.lyx.org/trac/ticket/8187
>
> And see this ticket for the main request:
> http://www.lyx.org/trac/ticket/8391
>
> Best,
>
> Scott

With that said if we had a layout for apa6 contributed we would accept
it. So just because no one is working on it that is not a reason for
despair. :-)

-- 
José Matos



Re: "Not a readable lyx document"

2012-12-04 Thread José Matos
On 2012-11-25 16:53, David L. Johnson wrote:
> My students would testify that many of my notes are far, far more than
> 8-12 months old when I open and "revise" them for the current term,
> and this has never happened to me [except on very, very old files
> whose format is no longer supported directly by lyx]. 
>>

If you still have those, and the file content is not sensitive I would
appreciate to look in to them to guarantee lyx2lyx's motto that "if lyx
wrote it then lyx should read it". :-)

Regards,

-- 
José Matos



Re: headers with fancy option are repeated beyond TOC

2012-08-30 Thread José Matos
On 08/29/2012 03:28 PM, Marcelo Acuña wrote:
> Hi,
>  I start new book with koma-script and option fancy headings.
>  I put TOC after dedication and noted that headers are printed in page
> of Introduction.
>  How I can solve this problem?
>

The best advice is probably to read the fancy headings documentation. :-)

With that said when I use koma-script I defined the headings for normal
pages and also for "empty" style pages by enclosing the definition on
\fancypagestyle .

Something like:

\fancypagestyle{plain}{%

\fancyhf{} % clear all header and footer fields

\renewcommand{\headrulewidth}{0.0pt}

\renewcommand{\footrulewidth}{0pt}
}


I am not sure if this helps but here you have my 0.02€. :-)

Regards,

-- 
José Matos



Re: LyX 2.0.2 [Texlive2007] on Fedora 15 [en_US] - Problem with Japanese output

2011-12-30 Thread José Matos
On 12/20/2011 05:51 AM, nomnex wrote:
> --- Configuration ---
>
> * Fedora 15 LXDE
> * OS Language: en_US
> * Input framework: i-bus (Japanese)
> * I have installed LyX 2.0.2 from the Fedora repo 2 days ago. It comes
> with texlive2007.
> * User level (LyX/Tex): Complete newbie (LyX introduction &
> Tutorial completed; User manual in the reading process).
>
> --- Problem ---
>
> I need to write documents in English/Japanese. I can input Japanese in
> LyX, but no matter the Document settings (see: below [01][03]), it
> always return error messages (see:below [02][03]) when I output to DVI
> or PDFLATEX.
>
> LyX complains about 'CJK.st' not found. There is no 'tex-cjk' package in
> the Fedora repository to my knowledge. I have installed
> 'texlive-east-asian', see detail:
> http://zid-luxinst.uibk.ac.at/linux/rpm2html/fedora/15/i386/updates/texlive-texmf-east-asian-2007-40.fc15.noarch.html
> I do not know if this package is necessary, or if I can remove it?
>
> In the LyX Document settings: the only fonts I see are Latin fonts. I
> do not see any Japanese fonts (with or without 'texlive-east-asian'
> package installed). There is only an empty CJK font field.
>
> The LyX wiki did not help me. Some web pages refers to a CJK package to
> install manually, but I am not positive. I don't really know if my
> problem if is a setting, or a missing package.
>
> Help greatly appreciated.

I am not sure if I can help but here it goes. :-)

There is a new version of texlive, version 2011 as it can be seen at
http://fedoraproject.org/wiki/Features/TeXLive

in order to install it for Fedora 15 you need to install as root:

# rpm -i 
http://jnovy.fedorapeople.org/texlive/packages.f15/texlive-release.noarch.rpm

The advantage of this approach is that it gives the most recent texlive version.


In case you still have problems could you, please, send us (privately to
me iff you wish) a small document that shows this problem and I will
compile it to see if the problem persists.

-- 
José Matos



Re: Extsizes layout

2011-11-18 Thread José Matos
On 11/18/2011 01:52 AM, Paul A. Rubin wrote:
> Your best bet may be to file an enhancement bug ticket and attach the file.

I agree with Paul. :-)

Another option is to post the changes to the devel list.

Regardless Julio did not said what are the changes or what is the
rationale for such changes so it is difficult to get interested to such
changes. :-)

Just my 2 ¢ (euro cents) for this thread. :-)

-- 
José Matos



Re: docbook export and underlined text?

2011-11-08 Thread José Matos
On 11/05/2011 03:30 AM, Michael Joyner wrote:
> Good afternoon/morning all,
>
> I am using the docbook article class, and when I hit "preview" and it
> pulls up in the web browser, the text I have marked as "underlined" is
> not exported as underlined. Is this a bug or is this intentional ?
>
> Using Lyx Version 2.0.1
>
> Thanks!
>
> -Mike
>
> -- 
>
>   * Learn to speak Cherokee: http://www.cherokeelessons.com/
>   * Cherokee Language Help
> BBS/Chat: http://www.cherokeelessons.com/phpBB3/viewforum.php?f=6
>   * Cherokee Lessons PDF made with: http://www.lyx.org/
>

The only problem is that should be the markup to do so in docbook.
Underline is physical markup while docbook has logical markup, one
option would be to pass underline as ... but that would depend on its support by
the exporting tools...

-- 
José Matos



Re: lyx doesn't find any .cls files

2011-11-08 Thread José Matos
On 11/03/2011 03:17 PM, Richard Heck wrote:
> The previously reported
> problems were due to this being Python 3.x, which is not backwards
> compatible (why not!?) and will not properly run the configure script.

Because after 20 years you find that some of your initial choices are
sub-optimal and are dragging other features.

One of the most obvious examples is the real division.

Until python 2.x we have that

3/2 -> 1 (integer division)

3./2 -> 1.5

while in python 3 we have that

3/2 -> 1.5

3.//2 -> 1.0 (integer division for general numbers)

It would be impossible to do this change without breaking compatibility
and it was precisely that the purpose of python 3, to be an once in a
long time event where backwards compatibility is broken.

-- 
José Matos



Re: LyX: Document Format Failure

2011-09-17 Thread José Matos
On 09/17/2011 04:11 PM, VNK wrote:
> Hi Richard,
>
> I've done what you said. The problem is solved. Thank you.
>
> Best regard,
> VNK

If the problem repeats itself please warn us. We take the file format
integrity seriously.

As Richard said this is quite unusual and so the suspect is a corruption
by other methods. Regardless I will take your file to dissect it in
order to find the real culprit.

Regards,

-- 
José Matos



Re: Lyx file format ?

2011-07-13 Thread José Matos

On 07/13/2011 05:21 AM, Steve Litt wrote:

I do it all the time, with my VimOutliner to LyX converter.

Of course, I've never done it with LyX 2.0 native format, so the
jury's still out on that.

SteveT


You don't need to update the converter since lyx through lyx2lyx will 
update it for you. :-)


--
José Matos



Re: Lyx file format ?

2011-07-13 Thread José Matos

On 07/13/2011 03:31 AM, steve_...@optusnet.com.au wrote:

Hi,

I am wondering if it is conceivable to generate (with a script) Lyx files, that 
can be later opened in Lyx to perform final editing/touch-ups before generating 
my final book?


Yes, it is possible, but the complexity depends on what you intend to do.


Is their some documentation on the Lyx file format somewhere?
Will the Lyx format be easier or harder to manage than dealing directly with 
Latex format?


Unfortunately there is no documentation on the lyx file format. With 
that said the User's Guide file is a good and lengthy example of a lyx file.



Thanks
Steve


--
José Matos



Re: Lyx and Beamer

2011-06-28 Thread José Matos
On Tuesday 28 June 2011 15:42:08 Richard Heck wrote:
> If I were doing this, I'd write a Perl script to handle the clean up.
> I've done this already with old documents converted from WordPerfect,
> but of course your needs will be different.
> 
> Richard

Due to this I have python scripts (no surprise here :-) ) to convert from lyx 
to latex. I have in my todo list to clean the output the other way around but 
I have not yet found time to complete this task. :-(

-- 
José Abílio


Re: spell checker not active

2011-06-14 Thread José Matos
On Saturday 11 June 2011 18:21:46 Cor Blom wrote:
> Maybe your hunspell is too recent? 1.3 is not found by lyx.
> 
> See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg169351.html
> 
> Regards,
> 
> Cor

FWIW this patch has been committed and it will be present in lyx-2.0.1.

-- 
José Abílio


Re: Comment écrire " opérateur adjoint" en mécanique quantique ?

2011-06-14 Thread José Matos
On Tuesday 14 June 2011 16:53:53 Robert Joseph wrote:
> Voilà. Comment écrire A^+ (avec "dague" au lieu de +) ?
> Merci very much schön !
> 
> RJ

\dagger in math mode will work.

-- 
José Abílio


Re: Lyx 2.0 Fedora 14 , error with parent and child document

2011-05-26 Thread José Matos
On Wednesday 25 May 2011 15:15:39 ajaucot wrote:
> Hello,
> 
> In a master file, the same child file is input twice (with
> insert/file/child).
> When using Lyx 1.6 and older versions, visualization in PDF run well,
> but with Lyx 2.0.0, the first input is executed, but the second one give
> an error message, saying it is unable to load the child document.
> I don't know if it is a bug or simply a configuration problem on my
> system (Fedora 14)? The 2 files attached illustrate the problem.

I can reproduce the error with Fedora 15 but I suspect that this is unrelated 
with Fedora.

> Could you please help me with this issue?

For the moment a workaround is to copy its content for a file with another 
name, like:

$ cp -a insere02.lyx insere01.lyx

Again this is just to workaround for the (silly) bug.

> Thank you for your help

I am CC'ing this message to the devel-list.
-- 
José Abílio


Re: LyX and the algorithm2e package

2011-03-15 Thread José Matos
On Monday 14 February 2011 23:20:18 Georger Araujo wrote:
> 
> But now my algorithms have the string "Algorithm2e 1" prepended to the
> caption, instead of "Algoritmo 1" (my native language is Portuguese).
> I am interested in using this package because it can generate a localized
> list of algorithms and also localized captions.
> Would anybody happen to have a working module? I'm running LyX 1.6.8 with
> MiKTeX 2.9 on Windows.
> 
> [1] http://phbaer.net/2009/09/09/algorithm2e-module-for-lyx
> 
> Regards,
> 
> Georger

Where do the problems happen in lyx or in the final output?

-- 
José Abílio


Re: New version question

2011-03-11 Thread José Matos
On Tuesday 08 March 2011 03:55:24 David L. Johnson wrote:
> Hi folks.  It has been a while since I have been on this list, but I 
> thought I'd ask about something I noticed in the last upgrade I made.

FWIW is nice to see you around here again. :-)

Regards,
-- 
José Abílio


Re: lyx 2rc1 prefs2prefs

2011-03-10 Thread José Matos
On Thursday 10 March 2011 15:44:56 Evan Mason wrote:
> 
> The line is:
> 
> \language_use_babel "false"
> 
> I had switched off babel in my previous lyx installation (1.6.8) in order
> to use the agutext document class. I guess I can try changing it to true
> in 'preference' and see what happens.

No need to change it, your use case is reasonable.

I suspect that if you remove the quotes (") around false the script will work. 
Or at least it will work past that point, more correctly. ;-)

> Thanks, Evan

-- 
José Abílio


Re: lyx 2rc1 prefs2prefs

2011-03-10 Thread José Matos
On Thursday 10 March 2011 15:34:26 José Matos wrote:
> /home/emason/.lyx/preferences

OK, now that I read the code I see that test is there. One question, is there 
a line in your preference file that starts with \language_use_babel? What is 
its content?

Regards,

-- 
José Abílio


Re: lyx 2rc1 prefs2prefs

2011-03-10 Thread José Matos
On Thursday 10 March 2011 14:24:18 Evan Mason wrote:
> Hi, I want to report a problem with 2rc1.  I have made a trouble-free
> installation of the source tarball on Mandriva linux 2010.0.
> 
> [emason@acacia .lyx]$ uname -a
> Linux acacia.cmima.csic.es 2.6.31.14-desktop-1mnb #1 SMP Wed Nov 24
> 10:42:07 EST 2010 x86_64 Intel(R) Core(TM) i7 CPU 920  @ 2.67GHz
> GNU/Linux
> 
> 
> But when I try to start lyx I get the following:
> 
> [emason@acacia .lyx]$ Traceback (most recent call last):
>   File "/usr/local/share/lyx/scripts/prefs2prefs.py", line 192, in 
> main(sys.argv)
>   File "/usr/local/share/lyx/scripts/prefs2prefs.py", line 168, in main
> (update, newline) = c(lines[i])
>   File "/opt/share/lyx/scripts/prefs2prefs_prefs.py", line 54, in
> language_use_babel val = m.group(1)
> AttributeError: 'NoneType' object has no attribute 'group'
> filetools.cpp(991): Could not run file conversion script prefs2prefs.py.
> LyXRC.cpp(395): Unable to convert /home/emason/.lyx/preferences to format 1
> Warning: Could not read configuration file
> 
> Error while reading the configuration file
> preferences.
> Please check your installation.
> 
> 
> I had a previous lyx (1.6.8) installation, which I removed using make
> clean.
> 
> Grateful for any suggestions,
> 
> Evan

The script was expecting to found a line starting with
\language_use_babel

and found none. If this is the normal procedure the idea is to test for it.

Thank you for the report. :-)
-- 
José Abílio


Re: lyx2.0.0beta3 vs. texlive 2010

2011-03-02 Thread José Matos
On Wednesday 02 March 2011 13:32:33 Rudi Gaelzer wrote:
> Can you please tell me what did you do?
> Did you first uninstall all the TeXlive 2007 packages that come with F14
> and then force the installation of 2010?
> Did you have to remove and reinstall LyX in the process?

After installing the repo file and updating the system lyx will work normally 
using the new system latex. There is no need to change lyx.

Eventually, just to be sure that any new package is detected by lyx, you can 
run Reconfigure and that is it. :-)

-- 
José Abílio


Re: lyx2.0.0beta3 vs. texlive 2010

2011-03-02 Thread José Matos
On Wednesday 02 March 2011 13:56:35 Neal Becker wrote:
> [texlive]
> name=TeX Live
> baseurl=http://jnovy.fedorapeople.org/texlive/2010/packages.fc14/
> enabled=0
> metadata_expire=1d
> gpgcheck=0

If you want to use you should define enabled=1 in the above repo file.

-- 
José Abílio


Re: no instant preview (do I need dv2dt?)

2011-01-31 Thread José Matos
On Monday 31 January 2011 15:06:03 Neal Becker wrote:
> linux fedora 14 lyx 2.0.0beta3.  Used to have instant preview, but not
> anymore.
> 
> I do see "Unable to find executable from 'dv2dt'" on console.
> 
> Is dv2dt the only way to get instant preview?  Doesn't seem to be available
> for fedora 14 via yum.

Yes, it is. :-)

# repoquery --whatprovides /usr/bin/dv2dt
texlive-dtl-bin-0:2011-0.1.20110128.svn18336.fc14.i686
texlive-dviutils-0:2007-56.fc14.x86_64
texlive-dtl-bin-0:2011-0.1.20110128.svn18336.fc14.x86_64

Either you install texlive-dviutils from texlive-2007 or texlive-dtl-bin from 
texlive-20[10|11].

I will add this dependency automatically for the next version.
-- 
José Abílio


Re: no spellcheck in lyx2.0beta3

2011-01-28 Thread José Matos
On Friday 28 January 2011 18:15:15 Neal Becker wrote:
> José Matos wrote:
> > On Friday 28 January 2011 16:03:05 Neal Becker wrote:
> >> I'm using lyx-2.0.0-0.11.beta3.fc14.x86_64
> >> on fedora 14.  I just noticed tools/spell check is grayed out.
> >> 
> >> What is needed?  I tried reconfig.
> > 
> > I suspect that we need to pass some option to configure when compiling
> > lyx.
> > 
> > That task is in my todo list for F-14 and F-15 (rawhide). Unfortunately I
> > am busy at the moment trying to get the marking of all exams and
> > assignments. :-(
> 
> I needed to choose enchant for spell check.  Strangely, it was not
> defaulted even though it's the only choice.

The strange part is that both enchant and hunspell are chosen as build 
requirements in the spec file.

The log file at 
http://kojipkgs.fedoraproject.org/packages/lyx/2.0.0/0.11.beta3.fc14/data/logs/x86_64/build.log
 
shows
...
checking hunspell/hunspell.hxx usability... yes
checking hunspell/hunspell.hxx presence... yes
checking for hunspell/hunspell.hxx... yes
checking for main in -lhunspell... no
checking whether to use hunspell... no
...

Could it be because the linker can not find libhunspell.so?

$ rpm -ql hunspell-devel
...
/usr/lib64/libhunspell-1.2.so
/usr/lib64/pkgconfig/hunspell.pc
...

I running out of time for the moment... :-(
-- 
José Abílio


Re: no spellcheck in lyx2.0beta3

2011-01-28 Thread José Matos
On Friday 28 January 2011 16:03:05 Neal Becker wrote:
> I'm using lyx-2.0.0-0.11.beta3.fc14.x86_64
> on fedora 14.  I just noticed tools/spell check is grayed out.
> 
> What is needed?  I tried reconfig.

I suspect that we need to pass some option to configure when compiling lyx. 

That task is in my todo list for F-14 and F-15 (rawhide). Unfortunately I am 
busy at the moment trying to get the marking of all exams and assignments. :-(

-- 
José Abílio


Re: csv import causes python error

2010-11-24 Thread José Matos
On Tuesday 23 November 2010 22:31:16 Kelly Kearney wrote:
> "An error occurred whilst running python -tt
> 
> '/Applications/LyX.app/Contents/Resourc"

Is this the error you get?

The above error message seems to be truncated.

> I searched the archive, and it seems this error occurred in 
> older Windows versions of Lyx due to a missing csv.py 
> script. I don't see this particular script in my own 
> [lyxlibrary]/scripts folder, but I wan't sure if it was 
> still necessary in the most recent Lyx release.
> 
> 
> Thanks for any suggestions regarding this error.
> 
> 
> -Kelly

-- 
José Abílio


Re: LyX 2.0x alpha5 in Fedora 14 and modules.

2010-11-19 Thread José Matos
On Friday 19 November 2010 13:42:28 Rudi Gaelzer wrote:
> Hi.
> So far, only the alpha5 version of LyX 2.0 has been made available for
> Fedora 14.  Anyone knows if the beta1 update will be offered soon in the
> yum updates repository?
> I'm asking because the alpha5 version is issuing error messages when it
> tries to load the theorem modules.
> Thank you.

As root:

# yum update --enablerepo=updates-testing lyx

will get you beta-1.

-- 
José Abílio


Re: DocBook and Graphics

2010-10-28 Thread José Matos
On Monday 12 July 2010 13:21:25 Peter Lipp wrote:
> Hi,
> 
> as a newbie I started writing a document using the docbook/chapter
> class. I can perfectly embed images, I do see them in lyx but not when I
> preview.
> 
> Just to test, I changed the class to "book" (non-docbook), and there
> preview works perfectly.
> 
> Any hints on what might be wrong and also how I could have found out
> myself are very much appreciated!

Probably you have already fixed this but here it goes. IIRC nn docbook the 
figures should go inside a frame (the graphics float in latex parlance).

> Thanks
> Peter

-- 
José Abílio


Re: DocBook informaltable dummy node

2010-10-28 Thread José Matos
On Monday 26 July 2010 11:30:42 Remy Chibois wrote:
> Hi everybody,

I am sorry really busy and just now cleaning my email list.

> I'm authoring a document using "DocBook book (SGML)" document class.
> 
> When inserting a table using the "Insert table" icon from the menu bar
> and exporting to "DocBook" (either SGML or XML), the resulting
> file contains:
> 
> [...]
> Sample Cell
> Content [...]
> 
> That is, the cell content is enclosed in a "dummy" tag.

That is a bug in lyx. "dummy" is the name given to a standard paragraph for 
the latex code, so I suspect that this name is leaking to the docbook class.

Certainly this is a bug in lyx.

> Is there any mean to avoid this ?

A workaround would be to filter the document to remove the  and 
 tags. The real solution is to fix the bug in the lyx code.

Could you please fill a bug in lyx so this bug does not get forgotten?

> Thank you.

Thanks,
-- 
José Abílio


Re: Error msg

2010-06-08 Thread José Matos
On Tuesday 08 June 2010 18:49:39 Frederick Noronha wrote:
> Could someone kindly tell me what it means when I get an error message
> saying:
> 
> File does not exist: /tmp/lyx_impdir.TJ6561/lyx_impbut0/June9.pdf
> 
> FN
> 
> Frederick Noronha
> +91-9822122436
> +91-832-2409490

You are using the beamer layout class and forgot to add an EndFrame as the 
last layout (paragraph style)? :-)

-- 
José Abílio


  1   2   3   4   >