Re: pdfx and hyperref

2015-12-02 Thread Egon Alter
Am Mittwoch, 2. Dezember 2015, 18:28:49 schrieb Kornel Benko:
> Am Mittwoch, 2. Dezember 2015 um 11:59:43, schrieb Scott Kostyshak
> <skost...@lyx.org>
> > On Wed, Dec 02, 2015 at 10:54:29AM +0100, Egon Alter wrote:
> > > Hi,
> > > 
> > > I'm trying to produce a pdf/a conformant pdf which includes hyperref.
> > > The
> > > attached example fails with "option clash" (when you add a
> > > sRGBIEC1966-2.1.icm). AFAIU, the reason is that hyperref is loaded twice
> > > (by lyx with its own options and pdfx with options pdfa,pdftex) with
> > > different options. Maybe the fix is to add "pdfa,pdftex" to the lyx
> > > options, but I can't find a way to do this (not via hypersetup!)
> > 
> > Hi Egon,
> > 
> > Your document compiles for me without error.
> > 
> > Scott
> 
> But only with pdflatex here :(

well, that wouldn't be a problem. I found that texlive 2014 (opensuse) ships 
pdfx version 1.2 from 2008, while the current version seems to be 1.5.3 from 
2015! I replaced pdfx with its current version and now the example file works 
fine. However, my work file prints lots of unicode errors now, but that's 
likely something different.

Thanks so far!

Egon




pdfx and hyperref

2015-12-02 Thread Egon Alter
Hi,

I'm trying to produce a pdf/a conformant pdf which includes hyperref. The 
attached example fails with "option clash" (when you add a 
sRGBIEC1966-2.1.icm). AFAIU, the reason is that hyperref is loaded twice (by 
lyx with its own options and pdfx with options pdfa,pdftex) with different 
options. Maybe the fix is to add "pdfa,pdftex" to the lyx options, but I can't 
find a way to do this (not via hypersetup!)

Thanks,

Egon


hyperref_clash.lyx
Description: application/lyx


Re: howto copy external material to lyx working directory

2009-11-04 Thread Egon Alter
 On Tue, Nov 3, 2009 at 4:46 PM, Manveru manv...@manveru.pl wrote:
  2009/11/1 Egon Alter egon.al...@gmx.net:
   Hi,
  
   I like to use the pdfx package which needs some external files (icc
   profile, xmpdata file) in the lyx_tmpbuf folder. The filenames are 
   hardcoded.
   How can I tell lyx to copy these files to the tmpbuf folder before 
   compiling?
 
  Oh yes, I was thinking about such feature couple of times when people
  requests some additional files in latex process through LyX. So
  customized copier option could be added to document settings allowing
  user to select files which he wants to be copied to temp dir for
  processing. This could be a feature request.
 
 A user defined copier definitely works, but I think that in the Document --
 Settings dialog, there should be an additional section named Files to
 copy, in which one can select files which should be also copied into the
 tmpbuf folder. This would make the whole process much easier to handle.

ok - step by step.

First, I define a new filetype e.g. ICC-profile with .icc extension.

Than I define a converter from icc to ??? (I used png, and included the file as 
a 
graph which I commented out manualy - ugly). 

As a copier, I tried ext_copy -e icc $p $r (don't remember the exact variables 
anymore, not well documented), but lyx allways wants to rename the copied files 
to 
number-filename style, so this didn't work. 

There should be some better way!

Egon


Re: howto copy external material to lyx working directory

2009-11-04 Thread Egon Alter
 On Tue, Nov 3, 2009 at 4:46 PM, Manveru manv...@manveru.pl wrote:
  2009/11/1 Egon Alter egon.al...@gmx.net:
   Hi,
  
   I like to use the pdfx package which needs some external files (icc
   profile, xmpdata file) in the lyx_tmpbuf folder. The filenames are 
   hardcoded.
   How can I tell lyx to copy these files to the tmpbuf folder before 
   compiling?
 
  Oh yes, I was thinking about such feature couple of times when people
  requests some additional files in latex process through LyX. So
  customized copier option could be added to document settings allowing
  user to select files which he wants to be copied to temp dir for
  processing. This could be a feature request.
 
 A user defined copier definitely works, but I think that in the Document --
 Settings dialog, there should be an additional section named Files to
 copy, in which one can select files which should be also copied into the
 tmpbuf folder. This would make the whole process much easier to handle.

ok - step by step.

First, I define a new filetype e.g. ICC-profile with .icc extension.

Than I define a converter from icc to ??? (I used png, and included the file as 
a 
graph which I commented out manualy - ugly). 

As a copier, I tried ext_copy -e icc $p $r (don't remember the exact variables 
anymore, not well documented), but lyx allways wants to rename the copied files 
to 
number-filename style, so this didn't work. 

There should be some better way!

Egon


Re: howto copy external material to lyx working directory

2009-11-04 Thread Egon Alter
> On Tue, Nov 3, 2009 at 4:46 PM, Manveru <manv...@manveru.pl> wrote:
> > 2009/11/1 Egon Alter <egon.al...@gmx.net>:
> > > Hi,
> > >
> > > I like to use the pdfx package which needs some external files (icc
> > > profile, xmpdata file) in the lyx_tmpbuf folder. The filenames are 
> > > hardcoded.
> > > How can I tell lyx to copy these files to the tmpbuf folder before 
> > > compiling?
> >
> > Oh yes, I was thinking about such feature couple of times when people
> > requests some additional files in latex process through LyX. So
> > customized copier option could be added to document settings allowing
> > user to select files which he wants to be copied to temp dir for
> > processing. This could be a feature request.
> 
> A user defined copier definitely works, but I think that in the Document --
> Settings dialog, there should be an additional section named "Files to
> copy", in which one can select files which should be also copied into the
> tmpbuf folder. This would make the whole process much easier to handle.

ok - step by step.

First, I define a new filetype e.g. "ICC-profile" with .icc extension.

Than I define a converter from icc to ??? (I used png, and included the file as 
a 
graph which I commented out manualy - ugly). 

As a copier, I tried ext_copy -e icc $p $r (don't remember the exact variables 
anymore, not well documented), but lyx allways wants to rename the copied files 
to 
-filename style, so this didn't work. 

There should be some better way!

Egon


howto copy external material to lyx working directory

2009-11-01 Thread Egon Alter
Hi,

I like to use the pdfx package which needs some external files (icc profile, 
xmpdata file) in the lyx_tmpbuf folder. The filenames are hardcoded. How can 
tell lyx to copy these files to the tmpbuf folder before compiling?

thanks

Egon


howto copy external material to lyx working directory

2009-11-01 Thread Egon Alter
Hi,

I like to use the pdfx package which needs some external files (icc profile, 
xmpdata file) in the lyx_tmpbuf folder. The filenames are hardcoded. How can 
tell lyx to copy these files to the tmpbuf folder before compiling?

thanks

Egon


howto copy external material to lyx working directory

2009-11-01 Thread Egon Alter
Hi,

I like to use the pdfx package which needs some external files (icc profile, 
xmpdata file) in the lyx_tmpbuf folder. The filenames are hardcoded. How can 
tell lyx to copy these files to the tmpbuf folder before compiling?

thanks

Egon