Re: Problematic Version Control

2013-12-04 Thread Stephan Witt
Am 04.12.2013 um 23:46 schrieb Thomas Wirtz :

> Hi Murat,
> 
> Thank your for your advice and your link.
> I can’t really say something about Xcode / Coda and if it affects the version 
> control system of LyX. I don’t use Git / SVN with Lyx - just the regular VC: 
> http://wiki.lyx.org/Mac/VersionControl
> So it’s RCS.
> 
> Fine to know, that LyX now supports Git / SVN. I will use that for future 
> projects, but of course now I would be really happy to recover my current VC 
> (RCS) .lyx,v file to have the full history back for use :)
> 
> For the list, I added the two error messages to this e-mail:
> https://dl.dropboxusercontent.com/u/1625441/error1.jpg
> https://dl.dropboxusercontent.com/u/1625441/error2.jpg
> 
> First error occurs when I try to „commit", and the second one when I try to 
> retrieve the history.


Does this help?
https://www.mail-archive.com/lyx-users@lists.lyx.org/msg97282.html

Stephan

> 
> Am 04.12.2013 um 23:20 schrieb Murat Yildizoglu 
> :
> 
>> Hi Thomas,
>> 
>> I am not sure that I understand everything :-)  I am not a big VC user 
>> myself, I am trying to get disciplined enough to be able to use it, but no 
>> avail. But, I am more or less following the evolution of the softs, and 
>> rather tempted to adopt git, now that Lyx can use it. 
>> Unfortunately, I cannot directly answer your questions. But I have found the 
>> following post by the editors of Coda, maybe their tricks could help you if 
>> you end up by using SVN with Lyx:
>> 
>> http://www.visuallizard.com/blog/2013/10/23/xcode-5-coda-2-and-svn
>> 
>> I also send my answer to the list, probably someone else, more competent 
>> than me could help you using the information you give below, in your message.
>> 
>> Please keep us informed if you locate the source and the solution of your 
>> problem.
>> 
>> Best regards,
>> 
>> Murat
>> 
>> 
>> 
>> 
>> 2013/12/4 Thomas Wirtz 
>> Hi Murat,
>> 
>> Thanks for your quick reply.
>> I’m using the native version control of Lyx which creates a .lyx,v file. So 
>> I think this is not SVN but simple version control, right?
>> Nevertheless I reinstalled the command line tools of Xcode some time ago 
>> after Mavericks update - but when using SVN I am using the app „Versions“ 
>> and for eclipse I’m using subclipse for SVN support.
>> 
>> I don’t know if those information is helping you getting to know what went 
>> wrong here - but is Lyx really using SVN for version control?
>> 
>> 
>> Cheers,
>> Thomas
>> 
>> 
>> Am 04.12.2013 um 22:32 schrieb Murat Yildizoglu 
>> :
>> 
>>> Hi Thomas,
>>> Were you using  the SVN version that comes with Xcode? If yes, have you 
>>> reinstalled the command line tools of Xcode? They are suppressed during the 
>>> installation of Mavericks if I remember well. Their reinstallation  is 
>>> necessary if you need that SVN, or have not installed another one. If you 
>>> rather use Git, you can also install it yourself. Mavericks update has 
>>> deleted many things in my case (including the Oracle Java, for example).
>>> 
>>> 
>>> 2013/12/4 Thomas Wirtz 
>>> Hi guys,
>>> 
>>> I’ve a huge problem with my version control in an existing file and noticed 
>>> it now.
>>> There may be a connection to the Mavericks update on OS X, but I’m not 100% 
>>> sure.
>>> I’ve posted some screenshots of my errors here: 
>>> http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332
>>> 
>>> I receive the error on both 2.0.6 and 2.1beta2. 
>>> 
>>> Can you tell me something about this error? How can I fix this?
>>> 
>>> All the best,
>>> Thomas
>>> 
>>> 
>>> 
>>> -- 
>>> Prof. Murat Yildizoglu
>>> 
>>> Université Montesquieu Bordeaux IV 
>>> GREThA (UMR CNRS 5113)
>>> Avenue Léon Duguit
>>> 33608 Pessac cedex
>>> France
>>> 
>>> Bureau : E-331
>>> 
>>> mail: yildi-at-u-bordeaux4.fr
>>> 
>>> web: yildizoglu.info
>> 
>> 
>> 
>> 
>> -- 
>> Prof. Murat Yildizoglu
>> 
>> Université Montesquieu Bordeaux IV 
>> GREThA (UMR CNRS 5113)
>> Avenue Léon Duguit
>> 33608 Pessac cedex
>> France
>> 
>> Bureau : E-331
>> 
>> mail: yildi-at-u-bordeaux4.fr
>> 
>> web: yildizoglu.info
> 



Looking for someone who can assist

2013-12-04 Thread Michael L. Wilson
Dear Lyx List,

At present I am looking for someone who can assist me with creating a Lyx 
letterhead based on a model that was created originally in LibreOffice. Any 
information or assistance would be greatly appreciated. 

-- 
Michael L. Wilson
Department of Adolescent Psychiatry
University of Turku - Finland


Lyx 2.1beta2 does not find elyxer

2013-12-04 Thread Murat Yildizoglu
Hi,

I have updated eLyXer on my laptop and it is on the path (and on
/usr/local/bin also) but when I do reconfigure, Lyx cannot find it and have
lost the converter Lyx->HTML, Lyx now uses another conversion path using
pdflatex and another converter.
Do you have any idea why LyX cannot see eLyXer?

Best regards,

Murat

-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Problematic Version Control

2013-12-04 Thread Murat Yildizoglu
Thomas,
I have never used RCS so I do not know what Lyx uses for this on Mac. But I
read on the Wiki the following (http://wiki.lyx.org/Mac/VersionControl) :
"LyX uses RCS  in order to
implement version control. By default RCS is not installed on OS X (10.5 at
least). It is however part of Xcode.
"

So, if you depend on the version installed by Xcode, and if Xcode 5 has
updated it to a new version, you could meet the same problems as the ones
met by the Coda people using SVN (the version 1.7 installed by Xcode is not
compatible with their repository created using an older version of SVN).
The version I have with Xcode 5.2 on my laptop is RCS version 5.7
You can check yours by executing rcs -V in Terminal.
I do not fully grok the messages in German, so I am just guessing here.
More people could maybe help you if you translate the messages to English,
I think.


2013/12/4 Thomas Wirtz 

> Hi Murat,
>
> Thank your for your advice and your link.
> I can’t really say something about Xcode / Coda and if it affects the
> version control system of LyX. I don’t use Git / SVN with Lyx - just the
> regular VC: http://wiki.lyx.org/Mac/VersionControl
> So it’s RCS.
>
> Fine to know, that LyX now supports Git / SVN. I will use that for future
> projects, but of course now I would be really happy to recover my current
> VC (RCS) .lyx,v file to have the full history back for use :)
>
> For the list, I added the two error messages to this e-mail:
> https://dl.dropboxusercontent.com/u/1625441/error1.jpg
> https://dl.dropboxusercontent.com/u/1625441/error2.jpg
>
> First error occurs when I try to „commit", and the second one when I try
> to retrieve the history.
>
>
> Cheers,
> Thomas
>
>
> Am 04.12.2013 um 23:20 schrieb Murat Yildizoglu <
> murat.yildizo...@u-bordeaux4.fr>:
>
> Hi Thomas,
>
> I am not sure that I understand everything :-)  I am not a big VC user
> myself, I am trying to get disciplined enough to be able to use it, but no
> avail. But, I am more or less following the evolution of the softs, and
> rather tempted to adopt git, now that Lyx can use it.
> Unfortunately, I cannot directly answer your questions. But I have found
> the following post by the editors of Coda, maybe their tricks could help
> you if you end up by using SVN with Lyx:
>
> http://www.visuallizard.com/blog/2013/10/23/xcode-5-coda-2-and-svn
>
> I also send my answer to the list, probably someone else, more competent
> than me could help you using the information you give below, in your
> message.
>
> Please keep us informed if you locate the source and the solution of your
> problem.
>
> Best regards,
>
> Murat
>
>
>
>
> 2013/12/4 Thomas Wirtz 
>
>> Hi Murat,
>>
>> Thanks for your quick reply.
>> I’m using the native version control of Lyx which creates a .lyx,v file.
>> So I think this is not SVN but simple version control, right?
>> Nevertheless I reinstalled the command line tools of Xcode some time ago
>> after Mavericks update - but when using SVN I am using the app „Versions“
>> and for eclipse I’m using subclipse for SVN support.
>>
>> I don’t know if those information is helping you getting to know what
>> went wrong here - but is Lyx really using SVN for version control?
>>
>>
>> Cheers,
>> Thomas
>>
>>
>> Am 04.12.2013 um 22:32 schrieb Murat Yildizoglu <
>> murat.yildizo...@u-bordeaux4.fr>:
>>
>> Hi Thomas,
>> Were you using  the SVN version that comes with Xcode? If yes, have you
>> reinstalled the command line tools of Xcode? They are suppressed during the
>> installation of Mavericks if I remember well. Their reinstallation  is
>> necessary if you need that SVN, or have not installed another one. If you
>> rather use Git, you can also install it yourself. Mavericks update has
>> deleted many things in my case (including the Oracle Java, for example).
>>
>>
>> 2013/12/4 Thomas Wirtz 
>>
>>> Hi guys,
>>>
>>> I’ve a huge problem with my version control in an existing file and
>>> noticed it now.
>>> There may be a connection to the Mavericks update on OS X, but I’m not
>>> 100% sure.
>>> I’ve posted some screenshots of my errors here:
>>> http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332
>>>
>>> I receive the error on both 2.0.6 and 2.1beta2.
>>>
>>> Can you tell me something about this error? How can I fix this?
>>>
>>> All the best,
>>> Thomas
>>>
>>
>>
>>
>> --
>> Prof. Murat Yildizoglu
>>
>> Université Montesquieu Bordeaux IV
>> GREThA (UMR CNRS 5113)
>> Avenue Léon Duguit
>> 33608 Pessac cedex
>> France
>>
>> Bureau : E-331
>>
>> mail: yildi-at-u-bordeaux4.fr
>>
>> web: yildizoglu.info
>>
>>
>>
>
>
> --
> Prof. Murat Yildizoglu
>
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> Bureau : E-331
>
> mail: yildi-at-u-bordeaux4.fr
>
> web: yildizoglu.info
>
>
>


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue 

Re: Problematic Version Control

2013-12-04 Thread Thomas Wirtz
Hi Murat,

Thank your for your advice and your link.
I can’t really say something about Xcode / Coda and if it affects the version 
control system of LyX. I don’t use Git / SVN with Lyx - just the regular VC: 
http://wiki.lyx.org/Mac/VersionControl
So it’s RCS.

Fine to know, that LyX now supports Git / SVN. I will use that for future 
projects, but of course now I would be really happy to recover my current VC 
(RCS) .lyx,v file to have the full history back for use :)

For the list, I added the two error messages to this e-mail:
https://dl.dropboxusercontent.com/u/1625441/error1.jpg
https://dl.dropboxusercontent.com/u/1625441/error2.jpg

First error occurs when I try to „commit", and the second one when I try to 
retrieve the history.


Cheers,
Thomas


Am 04.12.2013 um 23:20 schrieb Murat Yildizoglu 
:

> Hi Thomas,
> 
> I am not sure that I understand everything :-)  I am not a big VC user 
> myself, I am trying to get disciplined enough to be able to use it, but no 
> avail. But, I am more or less following the evolution of the softs, and 
> rather tempted to adopt git, now that Lyx can use it. 
> Unfortunately, I cannot directly answer your questions. But I have found the 
> following post by the editors of Coda, maybe their tricks could help you if 
> you end up by using SVN with Lyx:
> 
> http://www.visuallizard.com/blog/2013/10/23/xcode-5-coda-2-and-svn
> 
> I also send my answer to the list, probably someone else, more competent than 
> me could help you using the information you give below, in your message.
> 
> Please keep us informed if you locate the source and the solution of your 
> problem.
> 
> Best regards,
> 
> Murat
> 
> 
> 
> 
> 2013/12/4 Thomas Wirtz 
> Hi Murat,
> 
> Thanks for your quick reply.
> I’m using the native version control of Lyx which creates a .lyx,v file. So I 
> think this is not SVN but simple version control, right?
> Nevertheless I reinstalled the command line tools of Xcode some time ago 
> after Mavericks update - but when using SVN I am using the app „Versions“ and 
> for eclipse I’m using subclipse for SVN support.
> 
> I don’t know if those information is helping you getting to know what went 
> wrong here - but is Lyx really using SVN for version control?
> 
> 
> Cheers,
> Thomas
> 
> 
> Am 04.12.2013 um 22:32 schrieb Murat Yildizoglu 
> :
> 
>> Hi Thomas,
>> Were you using  the SVN version that comes with Xcode? If yes, have you 
>> reinstalled the command line tools of Xcode? They are suppressed during the 
>> installation of Mavericks if I remember well. Their reinstallation  is 
>> necessary if you need that SVN, or have not installed another one. If you 
>> rather use Git, you can also install it yourself. Mavericks update has 
>> deleted many things in my case (including the Oracle Java, for example).
>> 
>> 
>> 2013/12/4 Thomas Wirtz 
>> Hi guys,
>> 
>> I’ve a huge problem with my version control in an existing file and noticed 
>> it now.
>> There may be a connection to the Mavericks update on OS X, but I’m not 100% 
>> sure.
>> I’ve posted some screenshots of my errors here: 
>> http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332
>> 
>> I receive the error on both 2.0.6 and 2.1beta2. 
>> 
>> Can you tell me something about this error? How can I fix this?
>> 
>> All the best,
>> Thomas
>> 
>> 
>> 
>> -- 
>> Prof. Murat Yildizoglu
>> 
>> Université Montesquieu Bordeaux IV 
>> GREThA (UMR CNRS 5113)
>> Avenue Léon Duguit
>> 33608 Pessac cedex
>> France
>> 
>> Bureau : E-331
>> 
>> mail: yildi-at-u-bordeaux4.fr
>> 
>> web: yildizoglu.info
> 
> 
> 
> 
> -- 
> Prof. Murat Yildizoglu
> 
> Université Montesquieu Bordeaux IV 
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
> 
> Bureau : E-331
> 
> mail: yildi-at-u-bordeaux4.fr
> 
> web: yildizoglu.info



signature.asc
Description: Message signed with OpenPGP using GPGMail


tikz/pgf curves question

2013-12-04 Thread Csikos Bela
Hello:

With tikz I would like to draw 2 curved arrows which touch each other
tangentially. Example image attached.

(I also asked this at the pfg-users list, see:

http://sourceforge.net/mailarchive/message.php?msg_id=31715628)

Any help is appreciated.

Thanks,

bcsikos
<>

Re: Problematic Version Control

2013-12-04 Thread Murat Yildizoglu
Hi Thomas,

I am not sure that I understand everything :-)  I am not a big VC user
myself, I am trying to get disciplined enough to be able to use it, but no
avail. But, I am more or less following the evolution of the softs, and
rather tempted to adopt git, now that Lyx can use it.
Unfortunately, I cannot directly answer your questions. But I have found
the following post by the editors of Coda, maybe their tricks could help
you if you end up by using SVN with Lyx:

http://www.visuallizard.com/blog/2013/10/23/xcode-5-coda-2-and-svn

I also send my answer to the list, probably someone else, more competent
than me could help you using the information you give below, in your
message.

Please keep us informed if you locate the source and the solution of your
problem.

Best regards,

Murat




2013/12/4 Thomas Wirtz 

> Hi Murat,
>
> Thanks for your quick reply.
> I’m using the native version control of Lyx which creates a .lyx,v file.
> So I think this is not SVN but simple version control, right?
> Nevertheless I reinstalled the command line tools of Xcode some time ago
> after Mavericks update - but when using SVN I am using the app „Versions“
> and for eclipse I’m using subclipse for SVN support.
>
> I don’t know if those information is helping you getting to know what went
> wrong here - but is Lyx really using SVN for version control?
>
>
> Cheers,
> Thomas
>
>
> Am 04.12.2013 um 22:32 schrieb Murat Yildizoglu <
> murat.yildizo...@u-bordeaux4.fr>:
>
> Hi Thomas,
> Were you using  the SVN version that comes with Xcode? If yes, have you
> reinstalled the command line tools of Xcode? They are suppressed during the
> installation of Mavericks if I remember well. Their reinstallation  is
> necessary if you need that SVN, or have not installed another one. If you
> rather use Git, you can also install it yourself. Mavericks update has
> deleted many things in my case (including the Oracle Java, for example).
>
>
> 2013/12/4 Thomas Wirtz 
>
>> Hi guys,
>>
>> I’ve a huge problem with my version control in an existing file and
>> noticed it now.
>> There may be a connection to the Mavericks update on OS X, but I’m not
>> 100% sure.
>> I’ve posted some screenshots of my errors here:
>> http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332
>>
>> I receive the error on both 2.0.6 and 2.1beta2.
>>
>> Can you tell me something about this error? How can I fix this?
>>
>> All the best,
>> Thomas
>>
>
>
>
> --
> Prof. Murat Yildizoglu
>
> Université Montesquieu Bordeaux IV
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
>
> Bureau : E-331
>
> mail: yildi-at-u-bordeaux4.fr
>
> web: yildizoglu.info
>
>
>


-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


issues installing 2.0.6 on Windows 7

2013-12-04 Thread Liviu Andronic
Dear all,
A friend of mine fails to install LyX 2.0.6 on Windows 7 using the
bundle installer. The installer complains about not being able to open
a given file (basic-miktex-2.9.4813.exe) with 'write' permissions.

Other than a hard-drive failure, I'm quite lost on what's going wrong.
Any ideas?

Regards,
Liviu


-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Problematic Version Control

2013-12-04 Thread Murat Yildizoglu
Hi Thomas,
Were you using  the SVN version that comes with Xcode? If yes, have you
reinstalled the command line tools of Xcode? They are suppressed during the
installation of Mavericks if I remember well. Their reinstallation  is
necessary if you need that SVN, or have not installed another one. If you
rather use Git, you can also install it yourself. Mavericks update has
deleted many things in my case (including the Oracle Java, for example).


2013/12/4 Thomas Wirtz 

> Hi guys,
>
> I’ve a huge problem with my version control in an existing file and
> noticed it now.
> There may be a connection to the Mavericks update on OS X, but I’m not
> 100% sure.
> I’ve posted some screenshots of my errors here:
> http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332
>
> I receive the error on both 2.0.6 and 2.1beta2.
>
> Can you tell me something about this error? How can I fix this?
>
> All the best,
> Thomas
>



-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Problematic Version Control

2013-12-04 Thread Thomas Wirtz
Hi guys,

I’ve a huge problem with my version control in an existing file and noticed it 
now.
There may be a connection to the Mavericks update on OS X, but I’m not 100% 
sure.
I’ve posted some screenshots of my errors here: 
http://latex-community.org/forum/viewtopic.php?f=19&t=24217&p=82332#p82332

I receive the error on both 2.0.6 and 2.1beta2. 

Can you tell me something about this error? How can I fix this?

All the best,
Thomas


signature.asc
Description: Message signed with OpenPGP using GPGMail


Re: Fancy cover page?

2013-12-04 Thread Steve Litt
On Wed, 4 Dec 2013 11:43:31 -0500
Ignacio Martinez  wrote:

> Hi,
> 
> This time I need to do a fancy cover page, like
> http://curry.virginia.edu/uploads/resourceLibrary/17_Castleman_All_or_Nothing.pdf
> Can somebody help me do this in LyX? I have the logo as a svg and png.
> 
> Thanks a lot!
> 
> Ignacio
> 
> PS: They are pushing me to use MS Word, which is a problem because I
> use linux...

Why not simply not declare it's a cover page, and let it have a header
and footer like every other page that doesn't begin a chapter?

Thanks,

SteveT

Steve Litt*  http://www.troubleshooters.com/
Troubleshooting Training  *  Human Performance


Re: Can't insert PDF image into LyX

2013-12-04 Thread Jerry

On Dec 4, 2013, at 7:45 AM, Murat Yildizoglu  
wrote:

> Thanks Jens and Jerry, I was not aware of this program (sips) and it 
> generates nice bitmaps indeed, and quite quickly in comparison with the 
> gs+convert solution that was rather slow on my macbook air.
> 
> The version I use is the following (adapted for the 128dpi display of my MBA):
> 
> sips  -s dpiHeight 128.0 -s dpiWidth 128.0 --resampleWidth 600 --setProperty 
> format png $$i --out $$o

I don't see what the effect of dpiHeight and dpiWidth is. I tried several 
different values and saw no change in the rendered graphic.

FWIW, this page http://en.wikipedia.org/wiki/List_of_displays_by_pixel_density 
can help you to easily find the pixels per inch or centimeter of your display. 
My MacBook Pro is 110 dpi. Of course you could do Apple Menu -> About This Mac 
and do the math yourself.

Jerry

P.S. I also tried to edit the wiki the found the given password didn't work.
> 
> 
> 2013/12/4 Jerry 
> 
> On Dec 3, 2013, at 6:44 PM, Jens Nöckel  wrote:
> 
> >
> > On Dec 3, 2013, at 2:14 PM, Jerry wrote:
> >
> >>
> >> On Dec 3, 2013, at 1:53 PM, Stephen Buonopane  
> >> wrote:
> >>
> >>> Try the solution given here…
> >>> http://michael.orlitzky.com/articles/fixing_pdf_graphics_in_lyx.php
> >>> which creates a direct conversion from pdf to png.
> >>>
> >>> It solved a related problem for me in the past where the conversion 
> >>> through eps subtly changed the graphics dimensions making on screen 
> >>> cropping near impossible.
> >>
> >> Thanks, Stephen! That has fixed the problem.
> >>
> >> There remain some unanswered questions. It looks like the converter 
> >> pdftops is broken, at least on my machine. Your fix bypassed it, and 
> >> elsewhere in this thread I reported that a manual conversion created an 
> >> EPS file that was invalid. Is this a known problem?
> >>
> >> Since PDF is truly a native file format on OS X, it seems that your fix 
> >> should be incorporated into LyX permanently because OS X users are trying 
> >> to paste PDFs into LyX very frequently. Have you suggested this fix to the 
> >> developers?
> >>
> >> Jerry
> >
> >
> > As an alternative to Stephen's suggestion, you could also add the following 
> > converter for PDF to PNG. In my preferences, I chose the "From format" as
> >
> > PDF (ps2pdf)
> >
> > and entered this code for "Converter":
> >
> > sips -s format png $$i --out $$o
> >
> > This uses the OS X built-in command sips instead of Ghostscript.
> 
> Thanks for that tip, Jens. I really like the idea of using OS X's built-in 
> image processing. However, this command scales the image by 200% so I added 
> an option to scale to a width of 560 pixels which seems comfortable for me, 
> and preserves the aspect ratio. (I know that I could use LyX to scale the 
> on-screen size manually but this is laborious and makes the image ugly.)
> 
> In addition, there is a pink background behind the image which I don't like 
> and which the GhostScript-and-convert command suggested earlier in the thread 
> does not do. This is fixed by Preferences -> Look and Feel -> Colors -> 
> graphics background to white, but that leaves the question of why the 
> GhostSript approach did not result in a pink background--I'l bet it did not 
> render the PDF with a solid background but left it transparent. This (putting 
> a solid background) can be an issue which causes the image to appear bigger 
> than it is and can cause centering problems in the output PDF, but I'll leave 
> that to solve another day.
> 
> So for the record, the sips command I'm using is:
> 
> sips --resampleWidth 560 --setProperty format png $$i --out $$o
> 
> Again, thanks.
> 
> Jerry
> 
> 
> 
> -- 
> Prof. Murat Yildizoglu
> 
> Université Montesquieu Bordeaux IV 
> GREThA (UMR CNRS 5113)
> Avenue Léon Duguit
> 33608 Pessac cedex
> France
> 
> Bureau : E-331
> 
> mail: yildi-at-u-bordeaux4.fr
> 
> web: yildizoglu.info



Re: Can't insert PDF image into LyX

2013-12-04 Thread Murat Yildizoglu
I tried to edit the page but the password LyX does not seem to work.


2013/12/4 Scott Kostyshak 

> On Wed, Dec 4, 2013 at 9:45 AM, Murat Yildizoglu
>  wrote:
> > Thanks Jens and Jerry, I was not aware of this program (sips) and it
> > generates nice bitmaps indeed, and quite quickly in comparison with the
> > gs+convert solution that was rather slow on my macbook air.
> >
> > The version I use is the following (adapted for the 128dpi display of my
> > MBA):
> >
> > sips  -s dpiHeight 128.0 -s dpiWidth 128.0 --resampleWidth 600
> --setProperty
> > format png $$i --out $$o
> >
> >
> > 2013/12/4 Jerry 
> >>
> >>
> >> On Dec 3, 2013, at 6:44 PM, Jens Nöckel  wrote:
> >>
> >> >
> >> > On Dec 3, 2013, at 2:14 PM, Jerry wrote:
> >> >
> >> >>
> >> >> On Dec 3, 2013, at 1:53 PM, Stephen Buonopane  >
> >> >> wrote:
> >> >>
> >> >>> Try the solution given here…
> >> >>> http://michael.orlitzky.com/articles/fixing_pdf_graphics_in_lyx.php
> >> >>> which creates a direct conversion from pdf to png.
> >> >>>
> >> >>> It solved a related problem for me in the past where the conversion
> >> >>> through eps subtly changed the graphics dimensions making on screen
> cropping
> >> >>> near impossible.
> >> >>
> >> >> Thanks, Stephen! That has fixed the problem.
> >> >>
> >> >> There remain some unanswered questions. It looks like the converter
> >> >> pdftops is broken, at least on my machine. Your fix bypassed it, and
> >> >> elsewhere in this thread I reported that a manual conversion created
> an EPS
> >> >> file that was invalid. Is this a known problem?
> >> >>
> >> >> Since PDF is truly a native file format on OS X, it seems that your
> fix
> >> >> should be incorporated into LyX permanently because OS X users are
> trying to
> >> >> paste PDFs into LyX very frequently. Have you suggested this fix to
> the
> >> >> developers?
> >> >>
> >> >> Jerry
> >> >
> >> >
> >> > As an alternative to Stephen's suggestion, you could also add the
> >> > following converter for PDF to PNG. In my preferences, I chose the
> "From
> >> > format" as
> >> >
> >> > PDF (ps2pdf)
> >> >
> >> > and entered this code for "Converter":
> >> >
> >> > sips -s format png $$i --out $$o
> >> >
> >> > This uses the OS X built-in command sips instead of Ghostscript.
> >>
> >> Thanks for that tip, Jens. I really like the idea of using OS X's
> built-in
> >> image processing. However, this command scales the image by 200% so I
> added
> >> an option to scale to a width of 560 pixels which seems comfortable for
> me,
> >> and preserves the aspect ratio. (I know that I could use LyX to scale
> the
> >> on-screen size manually but this is laborious and makes the image ugly.)
> >>
> >> In addition, there is a pink background behind the image which I don't
> >> like and which the GhostScript-and-convert command suggested earlier in
> the
> >> thread does not do. This is fixed by Preferences -> Look and Feel ->
> Colors
> >> -> graphics background to white, but that leaves the question of why the
> >> GhostSript approach did not result in a pink background--I'l bet it did
> not
> >> render the PDF with a solid background but left it transparent. This
> >> (putting a solid background) can be an issue which causes the image to
> >> appear bigger than it is and can cause centering problems in the output
> PDF,
> >> but I'll leave that to solve another day.
> >>
> >> So for the record, the sips command I'm using is:
> >>
> >> sips --resampleWidth 560 --setProperty format png $$i --out $$o
> >>
> >> Again, thanks.
> >>
> >> Jerry
>
> Any volunteers to write up a short Wikipedia paragraph for this issue,
> which appears to be common on Macs?
> A good place might be:
> http://wiki.lyx.org/Mac/Mac
>
> Best,
>
> Scott
>



-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Fancy cover page?

2013-12-04 Thread Scott Kostyshak
On Wed, Dec 4, 2013 at 2:43 PM, Ignacio Martinez  wrote:
> Thanks Scott. I posted here:
> http://tex.stackexchange.com/questions/148369/fancy-cover-page
> But apparently they don't like this type of question :_(

Ah, yes that happens. Sometimes they get motivated by a user not
wanting to use Word, other times they complain. You could give an MWE
(post both the .lyx and .tex file there). Just try your best to make
it (e.g. using Insert > Graphics), even if it won't be close. This
will at least show what document class you're using and show that
you're willing to spend some time and effort to help yourself, it's
just (as you put in the comments) you don't have the LaTeX knowledge
yet.

Don't get too discouraged! You did just get a +1 by someone :)

Scott


Re: Fancy cover page?

2013-12-04 Thread Ignacio Martinez
Thanks Scott. I posted here:
http://tex.stackexchange.com/questions/148369/fancy-cover-page
But apparently they don't like this type of question :_(


On Wed, Dec 4, 2013 at 2:35 PM, Scott Kostyshak  wrote:

> On Wed, Dec 4, 2013 at 11:43 AM, Ignacio Martinez 
> wrote:
> > Hi,
> >
> > This time I need to do a fancy cover page, like
> >
> http://curry.virginia.edu/uploads/resourceLibrary/17_Castleman_All_or_Nothing.pdf
> > Can somebody help me do this in LyX? I have the logo as a svg and png.
> >
> > Thanks a lot!
> >
> > Ignacio
> >
> > PS: They are pushing me to use MS Word, which is a problem because I use
> > linux...
>
> This should be doable in LaTeX. If you don't get more help here,
> consider asking on tex.stackexchange.com (use the tag LyX and write
> that you are using LyX in your question).
>
> Best,
>
> Scott
>


Re: printing

2013-12-04 Thread Scott Kostyshak
On Wed, Dec 4, 2013 at 1:06 PM, David L. Johnson
 wrote:
> On 12/04/2013 12:43 PM, mike wrote:
>>
>> Hi
>>
>> Even though I am an old LaTeX user (but a new LyX user) for my current
>> purposes I would like to be able to print in a format very similar to what I
>> see on the screen in LyX.  I do realise that LyX is not intended to be
>> wysiwyg but what I see on the screen (some basic text and mathematics and
>> nested itemised lists) is just about perfect for what I need if I could just
>> figure out how to print it so that the printouts look like what I see on the
>> screen.
>
> I guess I don't understand what you mean.  On the one hand, if you have that
> on the screen, isn't it printed out that way?  Aside from re-formatting the
> text to fit the page width, of course.  What else about the way it looks on
> the screen do you not get on the printout?
>
> On the other hand, why would you want it to look more like the screen than
> the usual TeX output?  TeX adds in ligatures and other fancy font details,
> re-sets the page width and justification, and prints what you wrote.  Some
> fonts are different, but usually better than the on-screen appearance.  Why
> would you want it more like the screen?

+1 LaTeX is better and prettier for rendering than LyX.

More details would be useful. The only reason I can think of is that
you don't have LaTeX installed or you are getting LaTeX errors.

To answer your question though, I don't think this is possible other
than taking screen shots. I could be wrong though.

Scott


Re: Fancy cover page?

2013-12-04 Thread Scott Kostyshak
On Wed, Dec 4, 2013 at 11:43 AM, Ignacio Martinez  wrote:
> Hi,
>
> This time I need to do a fancy cover page, like
> http://curry.virginia.edu/uploads/resourceLibrary/17_Castleman_All_or_Nothing.pdf
> Can somebody help me do this in LyX? I have the logo as a svg and png.
>
> Thanks a lot!
>
> Ignacio
>
> PS: They are pushing me to use MS Word, which is a problem because I use
> linux...

This should be doable in LaTeX. If you don't get more help here,
consider asking on tex.stackexchange.com (use the tag LyX and write
that you are using LyX in your question).

Best,

Scott


Re: Can't insert PDF image into LyX

2013-12-04 Thread Scott Kostyshak
On Wed, Dec 4, 2013 at 9:45 AM, Murat Yildizoglu
 wrote:
> Thanks Jens and Jerry, I was not aware of this program (sips) and it
> generates nice bitmaps indeed, and quite quickly in comparison with the
> gs+convert solution that was rather slow on my macbook air.
>
> The version I use is the following (adapted for the 128dpi display of my
> MBA):
>
> sips  -s dpiHeight 128.0 -s dpiWidth 128.0 --resampleWidth 600 --setProperty
> format png $$i --out $$o
>
>
> 2013/12/4 Jerry 
>>
>>
>> On Dec 3, 2013, at 6:44 PM, Jens Nöckel  wrote:
>>
>> >
>> > On Dec 3, 2013, at 2:14 PM, Jerry wrote:
>> >
>> >>
>> >> On Dec 3, 2013, at 1:53 PM, Stephen Buonopane 
>> >> wrote:
>> >>
>> >>> Try the solution given here…
>> >>> http://michael.orlitzky.com/articles/fixing_pdf_graphics_in_lyx.php
>> >>> which creates a direct conversion from pdf to png.
>> >>>
>> >>> It solved a related problem for me in the past where the conversion
>> >>> through eps subtly changed the graphics dimensions making on screen 
>> >>> cropping
>> >>> near impossible.
>> >>
>> >> Thanks, Stephen! That has fixed the problem.
>> >>
>> >> There remain some unanswered questions. It looks like the converter
>> >> pdftops is broken, at least on my machine. Your fix bypassed it, and
>> >> elsewhere in this thread I reported that a manual conversion created an 
>> >> EPS
>> >> file that was invalid. Is this a known problem?
>> >>
>> >> Since PDF is truly a native file format on OS X, it seems that your fix
>> >> should be incorporated into LyX permanently because OS X users are trying 
>> >> to
>> >> paste PDFs into LyX very frequently. Have you suggested this fix to the
>> >> developers?
>> >>
>> >> Jerry
>> >
>> >
>> > As an alternative to Stephen's suggestion, you could also add the
>> > following converter for PDF to PNG. In my preferences, I chose the "From
>> > format" as
>> >
>> > PDF (ps2pdf)
>> >
>> > and entered this code for "Converter":
>> >
>> > sips -s format png $$i --out $$o
>> >
>> > This uses the OS X built-in command sips instead of Ghostscript.
>>
>> Thanks for that tip, Jens. I really like the idea of using OS X's built-in
>> image processing. However, this command scales the image by 200% so I added
>> an option to scale to a width of 560 pixels which seems comfortable for me,
>> and preserves the aspect ratio. (I know that I could use LyX to scale the
>> on-screen size manually but this is laborious and makes the image ugly.)
>>
>> In addition, there is a pink background behind the image which I don't
>> like and which the GhostScript-and-convert command suggested earlier in the
>> thread does not do. This is fixed by Preferences -> Look and Feel -> Colors
>> -> graphics background to white, but that leaves the question of why the
>> GhostSript approach did not result in a pink background--I'l bet it did not
>> render the PDF with a solid background but left it transparent. This
>> (putting a solid background) can be an issue which causes the image to
>> appear bigger than it is and can cause centering problems in the output PDF,
>> but I'll leave that to solve another day.
>>
>> So for the record, the sips command I'm using is:
>>
>> sips --resampleWidth 560 --setProperty format png $$i --out $$o
>>
>> Again, thanks.
>>
>> Jerry

Any volunteers to write up a short Wikipedia paragraph for this issue,
which appears to be common on Macs?
A good place might be:
http://wiki.lyx.org/Mac/Mac

Best,

Scott


Re: printing

2013-12-04 Thread David L. Johnson

On 12/04/2013 12:43 PM, mike wrote:

Hi

Even though I am an old LaTeX user (but a new LyX user) for my current 
purposes I would like to be able to print in a format very similar to 
what I see on the screen in LyX.  I do realise that LyX is not 
intended to be wysiwyg but what I see on the screen (some basic text 
and mathematics and nested itemised lists) is just about perfect for 
what I need if I could just figure out how to print it so that the 
printouts look like what I see on the screen.
I guess I don't understand what you mean.  On the one hand, if you have 
that on the screen, isn't it printed out that way?  Aside from 
re-formatting the text to fit the page width, of course.  What else 
about the way it looks on the screen do you not get on the printout?


On the other hand, why would you want it to look more like the screen 
than the usual TeX output?  TeX adds in ligatures and other fancy font 
details, re-sets the page width and justification, and prints what you 
wrote.  Some fonts are different, but usually better than the on-screen 
appearance.  Why would you want it more like the screen?



--
 
David L. Johnson
 
And what if you track down these men and kill them, what if you killed

all of us?  From every corner of Europe, hundreds, thousands would
rise up to take our places.  Even Nazis can't kill that fast.
-- Paul Henreid (Casablanca).



Re: printing

2013-12-04 Thread mike

Sorry I should have said I'm using v2.0.6 on Windows 7.

Mike

On 04/12/2013 17:43, mike wrote:

Hi

Even though I am an old LaTeX user (but a new LyX user) for my current 
purposes I would like to be able to print in a format very similar to 
what I see on the screen in LyX.  I do realise that LyX is not 
intended to be wysiwyg but what I see on the screen (some basic text 
and mathematics and nested itemised lists) is just about perfect for 
what I need if I could just figure out how to print it so that the 
printouts look like what I see on the screen.


I have tried various export formats (although obviously not all of 
them) and the one that is closest to what I'm talking about is LyXHTML 
but even that is pretty far removed from what I see on the screen.


Thanks very much in advance
Mike






printing

2013-12-04 Thread mike

Hi

Even though I am an old LaTeX user (but a new LyX user) for my current 
purposes I would like to be able to print in a format very similar to 
what I see on the screen in LyX.  I do realise that LyX is not intended 
to be wysiwyg but what I see on the screen (some basic text and 
mathematics and nested itemised lists) is just about perfect for what I 
need if I could just figure out how to print it so that the printouts 
look like what I see on the screen.


I have tried various export formats (although obviously not all of them) 
and the one that is closest to what I'm talking about is LyXHTML but 
even that is pretty far removed from what I see on the screen.


Thanks very much in advance
Mike


Re: Fancy cover page?

2013-12-04 Thread Jens Nöckel

On Dec 4, 2013, at 9:03 AM, Rich Shepard wrote:

> On Wed, 4 Dec 2013, Ignacio Martinez wrote:
> 
>> This time I need to do a fancy cover page, like
>> http://curry.virginia.edu/uploads/resourceLibrary/17_Castleman_All_or_Nothing.pdf
>> Can somebody help me do this in LyX? I have the logo as a svg and png.
> 
> Ignacio,
> 
>  For something like this I would prepare it in LibreOffice Writer, export
> it as a .pdf, and pre-pend it to the LyX created .pdf using pdftk. Takes
> much less time.
> 
> Rich


You can also include a cover page using LyX alone: put the cursor at the top of 
your LyX text, and choose

Insert > File > External Material

In the "File" pane, select "PDFPages" from the popup menu, and browse to your 
PDF cover page. That is all, provided the format of the cover page is a single 
page and matches the page size of the document.

Re: Fancy cover page?

2013-12-04 Thread Rich Shepard

On Wed, 4 Dec 2013, Ignacio Martinez wrote:


This time I need to do a fancy cover page, like
http://curry.virginia.edu/uploads/resourceLibrary/17_Castleman_All_or_Nothing.pdf
Can somebody help me do this in LyX? I have the logo as a svg and png.


Ignacio,

  For something like this I would prepare it in LibreOffice Writer, export
it as a .pdf, and pre-pend it to the LyX created .pdf using pdftk. Takes
much less time.

Rich

--
Richard B. Shepard, Ph.D.  |  Have knowledge, will travel.
Applied Ecosystem Services, Inc.   |
 Voice: 503-667-4517  Fax: 503-667-8863



Fancy cover page?

2013-12-04 Thread Ignacio Martinez
Hi,

This time I need to do a fancy cover page, like
http://curry.virginia.edu/uploads/resourceLibrary/17_Castleman_All_or_Nothing.pdf
Can somebody help me do this in LyX? I have the logo as a svg and png.

Thanks a lot!

Ignacio

PS: They are pushing me to use MS Word, which is a problem because I use
linux...


Re: fancy footer

2013-12-04 Thread Ignacio Martinez
Sorry for spamming everyone. I found the solution in case is useful for
some else or someone has a better solution.

\usepackage{lipsum}

\usepackage{fancyhdr}

\usepackage{xcolor}

\usepackage{etoolbox}

\pagestyle{fancy}

\makeatletter

\definecolor{curry}{RGB}{29,109,136}

%\fancyfoot[RO, LE] {\color{black} \thepage}

\patchcmd{\@fancyfoot}{\rlap}{\color{curry}\rlap}{}{}

\makeatother

\fancyfoot[C]{\color{black} {\hfill \thepage}\\

\color{curry} \fontsize{10}{11} \selectfont CEPWC Working Paper Series No.
13 July 2013.\\

Available at http://curry.virginia.edu/research/centers/cepwc/publications
.\\

Curry School of Education | Frank Batten School of Leadership and Public
Policy | University of Virginia}

\renewcommand{\headrulewidth}{0.0pt}

\renewcommand{\footrulewidth}{0.0pt}


Thanks for the help


On Wed, Dec 4, 2013 at 11:27 AM, Ignacio Martinez wrote:

> I almost have what I need. One minor problem is that the page number is
> too low
> See
> http://curry.virginia.edu/uploads/resourceLibrary/13_McEachin_WaiveOfTheFuture.pdf
> The page number should be above all the text
>
> \usepackage{lipsum}
>
> \usepackage{fancyhdr}
>
> \usepackage{xcolor}
>
> \usepackage{etoolbox}
>
> \pagestyle{fancy}
>
> \makeatletter
>
> \definecolor{curry}{RGB}{29,109,136}
>
> \fancyfoot[RO, LE] {\color{black} \thepage}
>
> \patchcmd{\@fancyfoot}{\rlap}{\color{curry}\rlap}{}{}
>
> \makeatother
>
> \fancyfoot[C]{\fontsize{10}{11} \selectfont CEPWC Working Paper Series No.
> 13 July 2013.\\
>
> Available at http://curry.virginia.edu/research/centers/cepwc/publications
> .\\
>
> Curry School of Education | Frank Batten School of Leadership and Public
> Policy | University of Virginia}
>
> \renewcommand{\headrulewidth}{0.0pt}
>
> \renewcommand{\footrulewidth}{0.0pt}
>
>
> Thanks!
>
>
> On Wed, Dec 4, 2013 at 11:09 AM, Ignacio Martinez wrote:
>
>> I changed rbg to RGB and it works now. I still need one minor fix, the
>> page number should be in black.
>>
>> \usepackage{lipsum}
>>
>> \usepackage{fancyhdr}
>>
>> \usepackage{xcolor}
>>
>> \usepackage{etoolbox}
>>
>> \pagestyle{fancy}
>>
>> \makeatletter
>>
>> \definecolor{curry}{RGB}{29,109,136}
>>
>> \patchcmd{\@fancyfoot}{\rlap}{\color{curry}\rlap}{}{}
>>
>> \makeatother
>>
>> \fancyfoot[C]{CEPWC Working Paper Series No. 13 July 2013.\\
>>
>> Available at
>> http://curry.virginia.edu/research/centers/cepwc/publications.\\
>>
>> Curry School of Education | Frank Batten School of Leadership and Public
>> Policy | University of Virginia}
>>
>> \fancyfoot[RO, LE] {\thepage}
>>
>> \renewcommand{\headrulewidth}{0.0pt}
>>
>> \renewcommand{\footrulewidth}{0.0pt}
>>
>>
>>
>> Thanks a lot!
>>
>>
>> On Wed, Dec 4, 2013 at 11:07 AM, Ignacio Martinez 
>> wrote:
>>
>>> Getting closer to what I need but not there yet. I need the color to be
>>> right. This is what I have in my preamble
>>>
>>> \usepackage{lipsum}
>>>
>>> \usepackage{fancyhdr}
>>>
>>> \usepackage{xcolor}
>>>
>>> \usepackage{etoolbox}
>>>
>>> \pagestyle{fancy}
>>>
>>> \makeatletter
>>>
>>> \definecolor{curry}{rgb}{29,109,136}
>>>
>>> \patchcmd{\@fancyfoot}{\rlap}{\color{curry}\rlap}{}{}
>>>
>>> \makeatother
>>>
>>> \fancyfoot[C]{CEPWC Working Paper Series No. 13 July 2013.\\
>>>
>>> Available at
>>> http://curry.virginia.edu/research/centers/cepwc/publications.\\
>>>
>>> Curry School of Education | Frank Batten School of Leadership and Public
>>> Policy | University of Virginia}
>>>
>>> \fancyfoot[RO, LE] {\thepage}
>>>
>>> \renewcommand{\headrulewidth}{0.0pt}
>>>
>>> \renewcommand{\footrulewidth}{0.0pt}
>>>
>>>
>>> The problem is that when I use color "curry" it does not work. It does
>>> if I use "orange" for example.
>>>
>>>
>>> Thanks!
>>>
>>>
>>> On Wed, Dec 4, 2013 at 10:42 AM, Julien Rioux  wrote:
>>>
 On 04/12/2013 10:28 AM, Ignacio Martinez wrote:

> Can somebody help me write a fancy footer like the one in this paper
> http://curry.virginia.edu/uploads/resourceLibrary/17_
> Castleman_All_or_Nothing.pdf
> ?
>

 Something like this in your document preamble?

 \usepackage{fancyhdr}
 \fancyfoot[c]{%
   \footnotesize\centering%
   CEPWC Working Paper Series No. 17. November 2013.\\%
   Available at
   http://curry.virginia.edu/research/centers/cepwc/publications\\%
   Curry School of Education |
   Frank Batten School of Leadership and Public Policy |
   \textbf{University of Virginia}%
 }

 --
 Julien


>>>
>>
>


Calligraphic font question

2013-12-04 Thread M. Bumin Yenmez
Hi,

I would like to change the calligraphic font (using \mathcal) to rsfs
fonts. I have read online that adding \usepackage{calrsfs} in the preamble
should allow me to use rsfs fonts with \mathcal. Even though in lyx the
font changes in the pdf output it is still the older calligraphic font. I
have lyx version 2.0.6 in windows 7. Please let me know how I can use rsfs
fonts.

Thank you for your help,


M. Bumin Yenmez


Re: fancy footer

2013-12-04 Thread Ignacio Martinez
I almost have what I need. One minor problem is that the page number is too
low
See
http://curry.virginia.edu/uploads/resourceLibrary/13_McEachin_WaiveOfTheFuture.pdf
The page number should be above all the text

\usepackage{lipsum}

\usepackage{fancyhdr}

\usepackage{xcolor}

\usepackage{etoolbox}

\pagestyle{fancy}

\makeatletter

\definecolor{curry}{RGB}{29,109,136}

\fancyfoot[RO, LE] {\color{black} \thepage}

\patchcmd{\@fancyfoot}{\rlap}{\color{curry}\rlap}{}{}

\makeatother

\fancyfoot[C]{\fontsize{10}{11} \selectfont CEPWC Working Paper Series No.
13 July 2013.\\

Available at http://curry.virginia.edu/research/centers/cepwc/publications
.\\

Curry School of Education | Frank Batten School of Leadership and Public
Policy | University of Virginia}

\renewcommand{\headrulewidth}{0.0pt}

\renewcommand{\footrulewidth}{0.0pt}


Thanks!


On Wed, Dec 4, 2013 at 11:09 AM, Ignacio Martinez wrote:

> I changed rbg to RGB and it works now. I still need one minor fix, the
> page number should be in black.
>
> \usepackage{lipsum}
>
> \usepackage{fancyhdr}
>
> \usepackage{xcolor}
>
> \usepackage{etoolbox}
>
> \pagestyle{fancy}
>
> \makeatletter
>
> \definecolor{curry}{RGB}{29,109,136}
>
> \patchcmd{\@fancyfoot}{\rlap}{\color{curry}\rlap}{}{}
>
> \makeatother
>
> \fancyfoot[C]{CEPWC Working Paper Series No. 13 July 2013.\\
>
> Available at http://curry.virginia.edu/research/centers/cepwc/publications
> .\\
>
> Curry School of Education | Frank Batten School of Leadership and Public
> Policy | University of Virginia}
>
> \fancyfoot[RO, LE] {\thepage}
>
> \renewcommand{\headrulewidth}{0.0pt}
>
> \renewcommand{\footrulewidth}{0.0pt}
>
>
>
> Thanks a lot!
>
>
> On Wed, Dec 4, 2013 at 11:07 AM, Ignacio Martinez wrote:
>
>> Getting closer to what I need but not there yet. I need the color to be
>> right. This is what I have in my preamble
>>
>> \usepackage{lipsum}
>>
>> \usepackage{fancyhdr}
>>
>> \usepackage{xcolor}
>>
>> \usepackage{etoolbox}
>>
>> \pagestyle{fancy}
>>
>> \makeatletter
>>
>> \definecolor{curry}{rgb}{29,109,136}
>>
>> \patchcmd{\@fancyfoot}{\rlap}{\color{curry}\rlap}{}{}
>>
>> \makeatother
>>
>> \fancyfoot[C]{CEPWC Working Paper Series No. 13 July 2013.\\
>>
>> Available at
>> http://curry.virginia.edu/research/centers/cepwc/publications.\\
>>
>> Curry School of Education | Frank Batten School of Leadership and Public
>> Policy | University of Virginia}
>>
>> \fancyfoot[RO, LE] {\thepage}
>>
>> \renewcommand{\headrulewidth}{0.0pt}
>>
>> \renewcommand{\footrulewidth}{0.0pt}
>>
>>
>> The problem is that when I use color "curry" it does not work. It does if
>> I use "orange" for example.
>>
>>
>> Thanks!
>>
>>
>> On Wed, Dec 4, 2013 at 10:42 AM, Julien Rioux  wrote:
>>
>>> On 04/12/2013 10:28 AM, Ignacio Martinez wrote:
>>>
 Can somebody help me write a fancy footer like the one in this paper
 http://curry.virginia.edu/uploads/resourceLibrary/17_
 Castleman_All_or_Nothing.pdf
 ?

>>>
>>> Something like this in your document preamble?
>>>
>>> \usepackage{fancyhdr}
>>> \fancyfoot[c]{%
>>>   \footnotesize\centering%
>>>   CEPWC Working Paper Series No. 17. November 2013.\\%
>>>   Available at
>>>   http://curry.virginia.edu/research/centers/cepwc/publications\\%
>>>   Curry School of Education |
>>>   Frank Batten School of Leadership and Public Policy |
>>>   \textbf{University of Virginia}%
>>> }
>>>
>>> --
>>> Julien
>>>
>>>
>>
>


Re: fancy footer

2013-12-04 Thread Ignacio Martinez
I changed rbg to RGB and it works now. I still need one minor fix, the page
number should be in black.

\usepackage{lipsum}

\usepackage{fancyhdr}

\usepackage{xcolor}

\usepackage{etoolbox}

\pagestyle{fancy}

\makeatletter

\definecolor{curry}{RGB}{29,109,136}

\patchcmd{\@fancyfoot}{\rlap}{\color{curry}\rlap}{}{}

\makeatother

\fancyfoot[C]{CEPWC Working Paper Series No. 13 July 2013.\\

Available at http://curry.virginia.edu/research/centers/cepwc/publications
.\\

Curry School of Education | Frank Batten School of Leadership and Public
Policy | University of Virginia}

\fancyfoot[RO, LE] {\thepage}

\renewcommand{\headrulewidth}{0.0pt}

\renewcommand{\footrulewidth}{0.0pt}



Thanks a lot!


On Wed, Dec 4, 2013 at 11:07 AM, Ignacio Martinez wrote:

> Getting closer to what I need but not there yet. I need the color to be
> right. This is what I have in my preamble
>
> \usepackage{lipsum}
>
> \usepackage{fancyhdr}
>
> \usepackage{xcolor}
>
> \usepackage{etoolbox}
>
> \pagestyle{fancy}
>
> \makeatletter
>
> \definecolor{curry}{rgb}{29,109,136}
>
> \patchcmd{\@fancyfoot}{\rlap}{\color{curry}\rlap}{}{}
>
> \makeatother
>
> \fancyfoot[C]{CEPWC Working Paper Series No. 13 July 2013.\\
>
> Available at http://curry.virginia.edu/research/centers/cepwc/publications
> .\\
>
> Curry School of Education | Frank Batten School of Leadership and Public
> Policy | University of Virginia}
>
> \fancyfoot[RO, LE] {\thepage}
>
> \renewcommand{\headrulewidth}{0.0pt}
>
> \renewcommand{\footrulewidth}{0.0pt}
>
>
> The problem is that when I use color "curry" it does not work. It does if
> I use "orange" for example.
>
>
> Thanks!
>
>
> On Wed, Dec 4, 2013 at 10:42 AM, Julien Rioux  wrote:
>
>> On 04/12/2013 10:28 AM, Ignacio Martinez wrote:
>>
>>> Can somebody help me write a fancy footer like the one in this paper
>>> http://curry.virginia.edu/uploads/resourceLibrary/17_
>>> Castleman_All_or_Nothing.pdf
>>> ?
>>>
>>
>> Something like this in your document preamble?
>>
>> \usepackage{fancyhdr}
>> \fancyfoot[c]{%
>>   \footnotesize\centering%
>>   CEPWC Working Paper Series No. 17. November 2013.\\%
>>   Available at
>>   http://curry.virginia.edu/research/centers/cepwc/publications\\%
>>   Curry School of Education |
>>   Frank Batten School of Leadership and Public Policy |
>>   \textbf{University of Virginia}%
>> }
>>
>> --
>> Julien
>>
>>
>


Re: fancy footer

2013-12-04 Thread Ignacio Martinez
Getting closer to what I need but not there yet. I need the color to be
right. This is what I have in my preamble

\usepackage{lipsum}

\usepackage{fancyhdr}

\usepackage{xcolor}

\usepackage{etoolbox}

\pagestyle{fancy}

\makeatletter

\definecolor{curry}{rgb}{29,109,136}

\patchcmd{\@fancyfoot}{\rlap}{\color{curry}\rlap}{}{}

\makeatother

\fancyfoot[C]{CEPWC Working Paper Series No. 13 July 2013.\\

Available at http://curry.virginia.edu/research/centers/cepwc/publications
.\\

Curry School of Education | Frank Batten School of Leadership and Public
Policy | University of Virginia}

\fancyfoot[RO, LE] {\thepage}

\renewcommand{\headrulewidth}{0.0pt}

\renewcommand{\footrulewidth}{0.0pt}


The problem is that when I use color "curry" it does not work. It does if I
use "orange" for example.


Thanks!


On Wed, Dec 4, 2013 at 10:42 AM, Julien Rioux  wrote:

> On 04/12/2013 10:28 AM, Ignacio Martinez wrote:
>
>> Can somebody help me write a fancy footer like the one in this paper
>> http://curry.virginia.edu/uploads/resourceLibrary/17_
>> Castleman_All_or_Nothing.pdf
>> ?
>>
>
> Something like this in your document preamble?
>
> \usepackage{fancyhdr}
> \fancyfoot[c]{%
>   \footnotesize\centering%
>   CEPWC Working Paper Series No. 17. November 2013.\\%
>   Available at
>   http://curry.virginia.edu/research/centers/cepwc/publications\\%
>   Curry School of Education |
>   Frank Batten School of Leadership and Public Policy |
>   \textbf{University of Virginia}%
> }
>
> --
> Julien
>
>


Re: fancy footer

2013-12-04 Thread Julien Rioux

On 04/12/2013 10:28 AM, Ignacio Martinez wrote:

Can somebody help me write a fancy footer like the one in this paper
http://curry.virginia.edu/uploads/resourceLibrary/17_Castleman_All_or_Nothing.pdf
?


Something like this in your document preamble?

\usepackage{fancyhdr}
\fancyfoot[c]{%
  \footnotesize\centering%
  CEPWC Working Paper Series No. 17. November 2013.\\%
  Available at
  http://curry.virginia.edu/research/centers/cepwc/publications\\%
  Curry School of Education |
  Frank Batten School of Leadership and Public Policy |
  \textbf{University of Virginia}%
}

--
Julien



fancy footer

2013-12-04 Thread Ignacio Martinez
Hi everyone,

Can somebody help me write a fancy footer like the one in this paper
http://curry.virginia.edu/uploads/resourceLibrary/17_Castleman_All_or_Nothing.pdf
?

Thanks a lot,

Ignacio

PS: I'm reading
http://texblog.org/2007/11/07/headerfooter-in-latex-with-fancyhdr/ but
failing in generating what I need.


Re: Can't insert PDF image into LyX

2013-12-04 Thread Murat Yildizoglu
Thanks Jens and Jerry, I was not aware of this program (sips) and it
generates nice bitmaps indeed, and quite quickly in comparison with the
gs+convert solution that was rather slow on my macbook air.

The version I use is the following (adapted for the 128dpi display of my
MBA):

sips  -s dpiHeight 128.0 -s dpiWidth 128.0 --resampleWidth 600
--setProperty format png $$i --out $$o


2013/12/4 Jerry 

>
> On Dec 3, 2013, at 6:44 PM, Jens Nöckel  wrote:
>
> >
> > On Dec 3, 2013, at 2:14 PM, Jerry wrote:
> >
> >>
> >> On Dec 3, 2013, at 1:53 PM, Stephen Buonopane 
> wrote:
> >>
> >>> Try the solution given here…
> >>> http://michael.orlitzky.com/articles/fixing_pdf_graphics_in_lyx.php
> >>> which creates a direct conversion from pdf to png.
> >>>
> >>> It solved a related problem for me in the past where the conversion
> through eps subtly changed the graphics dimensions making on screen
> cropping near impossible.
> >>
> >> Thanks, Stephen! That has fixed the problem.
> >>
> >> There remain some unanswered questions. It looks like the converter
> pdftops is broken, at least on my machine. Your fix bypassed it, and
> elsewhere in this thread I reported that a manual conversion created an EPS
> file that was invalid. Is this a known problem?
> >>
> >> Since PDF is truly a native file format on OS X, it seems that your fix
> should be incorporated into LyX permanently because OS X users are trying
> to paste PDFs into LyX very frequently. Have you suggested this fix to the
> developers?
> >>
> >> Jerry
> >
> >
> > As an alternative to Stephen's suggestion, you could also add the
> following converter for PDF to PNG. In my preferences, I chose the "From
> format" as
> >
> > PDF (ps2pdf)
> >
> > and entered this code for "Converter":
> >
> > sips -s format png $$i --out $$o
> >
> > This uses the OS X built-in command sips instead of Ghostscript.
>
> Thanks for that tip, Jens. I really like the idea of using OS X's built-in
> image processing. However, this command scales the image by 200% so I added
> an option to scale to a width of 560 pixels which seems comfortable for me,
> and preserves the aspect ratio. (I know that I could use LyX to scale the
> on-screen size manually but this is laborious and makes the image ugly.)
>
> In addition, there is a pink background behind the image which I don't
> like and which the GhostScript-and-convert command suggested earlier in the
> thread does not do. This is fixed by Preferences -> Look and Feel -> Colors
> -> graphics background to white, but that leaves the question of why the
> GhostSript approach did not result in a pink background--I'l bet it did not
> render the PDF with a solid background but left it transparent. This
> (putting a solid background) can be an issue which causes the image to
> appear bigger than it is and can cause centering problems in the output
> PDF, but I'll leave that to solve another day.
>
> So for the record, the sips command I'm using is:
>
> sips --resampleWidth 560 --setProperty format png $$i --out $$o
>
> Again, thanks.
>
> Jerry




-- 
Prof. Murat Yildizoglu

Université Montesquieu Bordeaux IV
GREThA (UMR CNRS 5113)
Avenue Léon Duguit
33608 Pessac cedex
France

Bureau : E-331

mail: yildi-at-u-bordeaux4.fr

web: yildizoglu.info


Re: Can't insert PDF image into LyX

2013-12-04 Thread Jerry

On Dec 3, 2013, at 6:44 PM, Jens Nöckel  wrote:

> 
> On Dec 3, 2013, at 2:14 PM, Jerry wrote:
> 
>> 
>> On Dec 3, 2013, at 1:53 PM, Stephen Buonopane  wrote:
>> 
>>> Try the solution given here…
>>> http://michael.orlitzky.com/articles/fixing_pdf_graphics_in_lyx.php
>>> which creates a direct conversion from pdf to png.
>>> 
>>> It solved a related problem for me in the past where the conversion through 
>>> eps subtly changed the graphics dimensions making on screen cropping near 
>>> impossible.
>> 
>> Thanks, Stephen! That has fixed the problem.
>> 
>> There remain some unanswered questions. It looks like the converter pdftops 
>> is broken, at least on my machine. Your fix bypassed it, and elsewhere in 
>> this thread I reported that a manual conversion created an EPS file that was 
>> invalid. Is this a known problem?
>> 
>> Since PDF is truly a native file format on OS X, it seems that your fix 
>> should be incorporated into LyX permanently because OS X users are trying to 
>> paste PDFs into LyX very frequently. Have you suggested this fix to the 
>> developers?
>> 
>> Jerry
> 
> 
> As an alternative to Stephen's suggestion, you could also add the following 
> converter for PDF to PNG. In my preferences, I chose the "From format" as 
> 
> PDF (ps2pdf)
> 
> and entered this code for "Converter":
> 
> sips -s format png $$i --out $$o
> 
> This uses the OS X built-in command sips instead of Ghostscript.

Thanks for that tip, Jens. I really like the idea of using OS X's built-in 
image processing. However, this command scales the image by 200% so I added an 
option to scale to a width of 560 pixels which seems comfortable for me, and 
preserves the aspect ratio. (I know that I could use LyX to scale the on-screen 
size manually but this is laborious and makes the image ugly.)

In addition, there is a pink background behind the image which I don't like and 
which the GhostScript-and-convert command suggested earlier in the thread does 
not do. This is fixed by Preferences -> Look and Feel -> Colors -> graphics 
background to white, but that leaves the question of why the GhostSript 
approach did not result in a pink background--I'l bet it did not render the PDF 
with a solid background but left it transparent. This (putting a solid 
background) can be an issue which causes the image to appear bigger than it is 
and can cause centering problems in the output PDF, but I'll leave that to 
solve another day.

So for the record, the sips command I'm using is:

sips --resampleWidth 560 --setProperty format png $$i --out $$o

Again, thanks.

Jerry