Re: [LyX/master] Replace the remaining bad urls with accsessible ones

2013-08-31 Thread Kornel Benko
Am Samstag, 31. August 2013 um 13:16:32, schrieb Andrew Parsloe 
apars...@clear.net.nz
 
 On 31/08/2013 10:49 a.m., Kornel Benko wrote:
  Am Freitag, 30. August 2013 um 12:07:59, schrieb Scott Kostyshak
  skost...@lyx.org
 
On Fri, Aug 30, 2013 at 11:33 AM, Kornel Benko kor...@lyx.org wrote:
 
 commit abe7eef13cbace98bc2c043e78ffdb3b4c47f2ad
 
 Author: Kornel Benko kor...@lyx.org
 
 Date: Fri Aug 30 17:28:46 2013 +0200
 

 
 Replace the remaining bad urls with accsessible ones
 

 
 Now all urls we use in our provided lyx-files
 
 (doc, examples, templates)
 
 use urls which really exist.
 

 
 (If a url was meant merely as an example,
 
 it was not touched, but added to file 'knownInvalidURLS'.)
 
   
 
Thanks for going through those, Kornel. Things look much improved.
 
  Well, it looked like the right think to do, once we had a tool to check it.
 
  We can thank each other :)
 
Scott
 
  Kornel
 
 
 However, although the url in the 9th item in the Bibliography of the 
 User's Guide exists,
 
 http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf

 the citations in the last paragraph of section 6.6.5 and the first of 
 6.6.6 should be to
 
 http://mirrors.ctan.org/indexing/makeindex/doc/manpages.dvi
 
 makeindex.pdf nowhere discusses style files or command line options 
 (it's really the same material as is in the User's Guide). For style 
 files and command line options you need to go to manpages.dvi.

I am inclined to agree. Scott and I wanted to check the accessibility only,
but what you write makes sense. Uwe are you around?

 I posted this on the documentation list two months ago but it got no 
 response. I think all you northern hemispherical types (hyphenate as you 
 wish) were on holiday.

 Andrew

Kornel

signature.asc
Description: This is a digitally signed message part.


LyX + Qt5 + CMake + XCode - attached files (1/1)

2013-08-31 Thread pdv
Hello,

I've build LyX+Qt5.2 using CMake and XCode and needed to make the 
following changes (see 3 attached patch files):

1) A few modules must be added to qt_use_modules() in 2 CMakeLists.

2) Q_WS_MACX is no longer supported and was replaced by Q_OS_MACX 
(probably a similar change must be made for windows?).
In addition QMacStyle has been replaced by QProxyStyle.
(There are still some occurrences of Q_WS_MAC in FindQt4.cmake.)

3) With the changes above the application builds and looks OK (AFAICS) 
but most menus are missing;
Inserting an updateMenu() in Menus.cpp solves this.

Regards,

Patrick De Visschere

begin 644 LyXQt5CmakeLists.diff
M9EF9B`M+6=I=!A+W-R8R]FF]N=5N9',O70T+T--86ME3ES=',N='AT
M((OW)C+V9R;VYT96YDR]Q=#0O0TUA:V5,:7-TRYT'0*:6YD97@@,30R
M.#-E82XN-C,S930Y9`Q,#`V-#0*+2TM($OW)C+V9R;VYT96YDR]Q=#0O
M0TUA:V5,:7-TRYT'0**RLK((OW)C+V9R;VYT96YDR]Q=#0O0TUA:V5,
M:7-TRYT'0*0$`@+34T+#@*S4T+#$R($!`(5LV4H*0H@96YD:68H*0H@
MV5T7W1AF=E=%]PF]P97)T:65S*9R;VYT96YD7W%T-!04D]015)42453
M($9/3$1%4B`B87!P;EC871I;VYS+TQY6(IB`*+7%T7W5S95]M;V1U;5S
M*9R;VYT96YD7W%T-!#;W)E($=U:2!7:61G971S($-O;F-UG)E;G0IBMI
M9BA!4%!,12D**PEQ=%]UV5?;6]D=6QERAFF]N=5N9%]Q=#0@0V]R92!'
M=6D@5VED9V5TR!#;VYC=7)R96YT($UA8T5X=')ARD**V5LV4H*0HK7%T
M7W5S95]M;V1U;5S*9R;VYT96YD7W%T-!#;W)E($=U:2!7:61G971S($-O
M;F-UG)E;G0IBME;F1I9B@IBL*('1AF=E=%]L:6YK7VQI8G)AFEERAF
MF]N=5N9%]Q=#0*(`EFF]N=5N9',*(`DDU%47U%40T]215],24)205)9
M?0ID:69F(TM9VET($OW)C+W-U'!OG0O0TUA:V5,:7-TRYT'0@8B]S
MF,OW5P]R=]#36%K94QIW1S+G1X=`II;F1E!E9F1A,C`U+BXU-V-E
M.#`P(#$P,#8T-`HM+2T@82]SF,OW5P]R=]#36%K94QIW1S+G1X=`HK
M*RL@8B]SF,OW5P]R=]#36%K94QI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U!A=A#:%N9V5R+F@BB`C:6YC;'5D

Re: [LyX/master] Replace the remaining bad urls with accsessible ones

2013-08-31 Thread Scott Kostyshak
On Fri, Aug 30, 2013 at 9:16 PM, Andrew Parsloe apars...@clear.net.nz wrote:

 I posted this on the documentation list two months ago but it got no
 response. I think all you northern hemispherical types (hyphenate as you
 wish) were on holiday.

Please bump emails that you think deserve attention and did not get
any. I am often ignored and I also often ignore other emails if I
assume someone else is going to take care of them. So everyone needs
to be persistent.

Scott


getting bibtex-database-name via LFUN

2013-08-31 Thread newslet...@semiotikon.de

Hi,

i am currently working on a bibliography management tool based on 
XULRunner. Right now i'm about to implement the pushing of citations to lyx.


I have read the code of Petr Simon the first developer of lyz. What he 
did to manage bibtex-databases in relation with lyx is quite 
complicated: He stores the name of the lyx file and the name of the 
bibtex file in the sqlite-storage of his app, just to know into which 
bibtext file additional entries pushed to lyx should be stored.


I'm sure he would have solved it otherwise if it was possible three 
years ago. So my question is: Is it now possible to get the name of the 
bibtex file(s) attached to a lxy document via LFUN?


Any help appreciated!

Best
Stefan


Re: request for comments on EPUB exporting

2013-08-31 Thread Scott Kostyshak
On Fri, Aug 30, 2013 at 11:31 PM, Josh Hieronymus
josh.p.hierony...@gmail.com wrote:
 Hi everyone,

 I'm working on exporting LyX documents to EPUB as part of my Google Summer
 of Code project, and I'd like to invite you to try out my current
 implementation, which can be found in the epub/master branch of the gsoc
 repository (g...@git.lyx.org:gsoc.git). The export process begins by
 exporting the document to XHTML via LyXHTML, then converting the XHTML to
 EPUB with the scripts in lib/scripts/epub.

I'm not an EPUB user so I cannot test unfortunately.

 - Extracting other metadata fields from the document. The required fields
 are language, title, and identifier. The title field is taken from the
 document, but not  the language or the identifier. I'm taking the title from
 the first paragraph to use the title inset, but there aren't corresponding
 insets for the other elements, so I'm not sure of the best way or ways to
 get the rest of the info. (There's an inset for author, but the author name
 is needed in both reading order and file-as order, and there's only one
 author inset.) One thought is to create custom insets, and another is to ask
 for the information via the document settings.

In my opinion, language should be taken from the document settings
since it is already a setting. I think for other fields such as author
this should be taken from an inset defined by the module/layout. But
this might be because I don't know anything about EPUB. Can I export
any document in LyX to EPUB with your method? I would just export from
the file menu? Or do I have to first add a module? Perhaps an extra
EPUB fields module could be useful in which the necessary (author
name) and optional fields are implemented with custom insets.

 What I'd like to implement at some point:
 - optional conversion of images to SVG format
 Note: Vector-based graphics scale better than raster-based graphics, making
 them well-suited for electronic media.
 Note: EPUB specifications require compliant e-readers to support SVG.
 Note: Older versions of some browsers (primarily IE) don't support SVG.
 Note: Preliminary searches turn up a package named dvisvgm
 (http://www.ctan.org/pkg/dvisvgm) that converts DVI to SVG, and it's
 licensed under the GPL v3 or later.
 - ability to split large XHTML files into smaller ones
 Note: Splitting large XHTML files should boost the performance of the
 converted EPUB documents.
 - allow selection of an image for front cover artwork
 Note: Amazon requires JPEG or TIFF format for front cover artwork.

Thanks for this information. What about EPS/PDF? What are their
advantages/disadvantages versus SVG?

Scott


Re: [LyX/master] Replace the remaining bad urls with accsessible ones

2013-08-31 Thread Kornel Benko
Am Samstag, 31. August 2013 um 13:16:32, schrieb Andrew Parsloe 

> 
> On 31/08/2013 10:49 a.m., Kornel Benko wrote:
> > Am Freitag, 30. August 2013 um 12:07:59, schrieb Scott Kostyshak
> > 
> >
> >  > On Fri, Aug 30, 2013 at 11:33 AM, Kornel Benko  wrote:
> >
> >  > > commit abe7eef13cbace98bc2c043e78ffdb3b4c47f2ad
> >
> >  > > Author: Kornel Benko 
> >
> >  > > Date: Fri Aug 30 17:28:46 2013 +0200
> >
> >  > >
> >
> >  > > Replace the remaining bad urls with accsessible ones
> >
> >  > >
> >
> >  > > Now all urls we use in our provided lyx-files
> >
> >  > > (doc, examples, templates)
> >
> >  > > use urls which really exist.
> >
> >  > >
> >
> >  > > (If a url was meant merely as an example,
> >
> >  > > it was not touched, but added to file 'knownInvalidURLS'.)
> >
> >  >
> >
> >  > Thanks for going through those, Kornel. Things look much improved.
> >
> > Well, it looked like the right think to do, once we had a tool to check it.
> >
> > We can thank each other :)
> >
> >  > Scott
> >
> > Kornel
> >
> 
> However, although the url in the 9th item in the Bibliography of the 
> User's Guide exists,
> 
> http://mirrors.ctan.org/indexing/makeindex/doc/makeindex.pdf
>
> the citations in the last paragraph of section 6.6.5 and the first of 
> 6.6.6 should be to
> 
> http://mirrors.ctan.org/indexing/makeindex/doc/manpages.dvi
> 
> makeindex.pdf nowhere discusses style files or command line options 
> (it's really the same material as is in the User's Guide). For style 
> files and command line options you need to go to manpages.dvi.

I am inclined to agree. Scott and I wanted to check the accessibility only,
but what you write makes sense. Uwe are you around?

> I posted this on the documentation list two months ago but it got no 
> response. I think all you northern hemispherical types (hyphenate as you 
> wish) were on holiday.

> Andrew

Kornel

signature.asc
Description: This is a digitally signed message part.


LyX + Qt5 + CMake + XCode - attached files (1/1)

2013-08-31 Thread pdv
Hello,

I've build LyX+Qt5.2 using CMake and XCode and needed to make the 
following changes (see 3 attached patch files):

1) A few modules must be added to qt_use_modules() in 2 CMakeLists.

2) Q_WS_MACX is no longer supported and was replaced by Q_OS_MACX 
(probably a similar change must be made for windows?).
In addition QMacStyle has been replaced by QProxyStyle.
(There are still some occurrences of Q_WS_MAC in FindQt4.cmake.)

3) With the changes above the application builds and looks OK (AFAICS) 
but most menus are missing;
Inserting an updateMenu() in Menus.cpp solves this.

Regards,

Patrick De Visschere

begin 644 LyXQt5CmakeLists.diff
M9`M+6=I="!A+W-R8R]F

Re: [LyX/master] Replace the remaining bad urls with accsessible ones

2013-08-31 Thread Scott Kostyshak
On Fri, Aug 30, 2013 at 9:16 PM, Andrew Parsloe  wrote:

> I posted this on the documentation list two months ago but it got no
> response. I think all you northern hemispherical types (hyphenate as you
> wish) were on holiday.

Please bump emails that you think deserve attention and did not get
any. I am often ignored and I also often ignore other emails if I
assume someone else is going to take care of them. So everyone needs
to be persistent.

Scott


getting bibtex-database-name via LFUN

2013-08-31 Thread newslet...@semiotikon.de

Hi,

i am currently working on a bibliography management tool based on 
XULRunner. Right now i'm about to implement the pushing of citations to lyx.


I have read the code of Petr Simon the first developer of lyz. What he 
did to manage bibtex-databases in relation with lyx is quite 
complicated: He stores the name of the lyx file and the name of the 
bibtex file in the sqlite-storage of his app, just to know into which 
bibtext file additional entries pushed to lyx should be stored.


I'm sure he would have solved it otherwise if it was possible three 
years ago. So my question is: Is it now possible to get the name of the 
bibtex file(s) attached to a lxy document via LFUN?


Any help appreciated!

Best
Stefan


Re: request for comments on EPUB exporting

2013-08-31 Thread Scott Kostyshak
On Fri, Aug 30, 2013 at 11:31 PM, Josh Hieronymus
 wrote:
> Hi everyone,
>
> I'm working on exporting LyX documents to EPUB as part of my Google Summer
> of Code project, and I'd like to invite you to try out my current
> implementation, which can be found in the "epub/master" branch of the gsoc
> repository (g...@git.lyx.org:gsoc.git). The export process begins by
> exporting the document to XHTML via LyXHTML, then converting the XHTML to
> EPUB with the scripts in lib/scripts/epub.

I'm not an EPUB user so I cannot test unfortunately.

> - Extracting other metadata fields from the document. The required fields
> are language, title, and identifier. The title field is taken from the
> document, but not  the language or the identifier. I'm taking the title from
> the first paragraph to use the "title" inset, but there aren't corresponding
> insets for the other elements, so I'm not sure of the best way or ways to
> get the rest of the info. (There's an inset for author, but the author name
> is needed in both reading order and "file-as" order, and there's only one
> author inset.) One thought is to create custom insets, and another is to ask
> for the information via the document settings.

In my opinion, language should be taken from the document settings
since it is already a setting. I think for other fields such as author
this should be taken from an inset defined by the module/layout. But
this might be because I don't know anything about EPUB. Can I export
any document in LyX to EPUB with your method? I would just export from
the file menu? Or do I have to first add a module? Perhaps an extra
"EPUB fields" module could be useful in which the necessary (author
name) and optional fields are implemented with custom insets.

> What I'd like to implement at some point:
> - optional conversion of images to SVG format
> Note: Vector-based graphics scale better than raster-based graphics, making
> them well-suited for electronic media.
> Note: EPUB specifications require compliant e-readers to support SVG.
> Note: Older versions of some browsers (primarily IE) don't support SVG.
> Note: Preliminary searches turn up a package named dvisvgm
> (http://www.ctan.org/pkg/dvisvgm) that converts DVI to SVG, and it's
> licensed under the GPL v3 or later.
> - ability to split large XHTML files into smaller ones
> Note: Splitting large XHTML files should boost the performance of the
> converted EPUB documents.
> - allow selection of an image for front cover artwork
> Note: Amazon requires JPEG or TIFF format for front cover artwork.

Thanks for this information. What about EPS/PDF? What are their
advantages/disadvantages versus SVG?

Scott