Re: bibtex references not in compiled document...

2012-02-27 Thread Jonas Lindh
According to http://tug.org/mactex/faq/#qm04 I should put my bst file under
~/Library/texmf/tex/ which I have already done (also tried several other
places, so I can't understand why it can't be read?
Jonas

2012/2/24 Jonas Lindh jonas.lindh...@gmail.com



 On Friday, February 24, 2012, Richard Heck wrote:

 On 02/24/2012 08:46 AM, Jonas Lindh wrote:
  Hi.
  After updating etc I can't seem to get my references into the compiled
  pdf using lyx 2.0.2 on macosx 10.7.3 and a bst that used to work great
  from a professor at my dept. MacTeX 2011 is installed and updated
  using Tex live...
 
  I am attaching the bst.+AKA-
 
  The output gives me (?) for refs and error for bibtex is :
  This is 8-bit Big BibTeX version 0.99d
  Implementation: +AKA-C for Unix
  Release version: 3.71 (31 May 2005)
 
  Error: cannot open CS file: 88591lat.csf
  The top-level auxiliary file: thesis+AF8-vers16.1.aux
  I couldn't open style file
 
 45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib.bst
  ---line 1387 of file thesis+AF8-vers16.1.aux
  +AKA-:
 
 +AFw-bibstyle+AHs-45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib
  +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKAAfQ-
  I'm skipping whatever remains of this command
  I couldn't open database file
 
 44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16.bib
  ---line 1388 of file thesis+AF8-vers16.1.aux
  +AKA-:
 
 +AFw-bibdata+AHs-44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16
  +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AH0-
  I'm skipping whatever remains of this command
  I found no database files---while reading file thesis+AF8-vers16.1.aux
  I found no style file---while reading file thesis+AF8-vers16.1.aux
 
 I'm not sure what you updated, but it looks as if LaTeX simply isn't
 finding the bst file.


 I ran tex check... Then checked log - bibtex


 It also looks as if LyX is copying it to your
 temporary directory, and THEN LaTeX isn't finding it. This may be due to
 some changes in how local files are handled in 2.0.2.


 Suspected that too and put it in the same folder as the lyx doc, but also
 in tex folders I could think of and find documentation of, but didn't help,
 maybe need to put in yet another path, somebody knows where it's looking on
 mac/unix?


 I'd suggest that
 you put the bst file in some location where LaTeX will find it without
 its having to be copied to the temporary directory. Where this is on
 Mac, I'm afraid I do not know.

 After you get this error, you might also look in the temporary
 directory. Is the referenced file there?


 Which tmp? Lyx?
 Thanks for answering so quickly...
 Jonas



 Richard



 --
 
 http://www.ling.gu.se/~jonas




-- 
http://www.ling.gu.se/~jonas


Re: Embedded Fonts

2012-02-27 Thread Liviu Andronic
On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Dear all, I would like to use Lulu.com to print a book. Nevertheless, the
 ask for the fonts to be embedded in the PDF. Does Lyx do that by default?

Mos often, yes. To verify, open the PDF in acroread or evince and
access ctrl+d and alt+enter, respectively. In the Fonts tab you should
have information on whether they're embedded or not.

Liviu


Re: subeq numbers in ams aligned

2012-02-27 Thread Paul A . Rubin
Neal Becker ndbecker2 at gmail.com writes:

 
 I have an ams aligned env, and I'd like each of the subeqs numbered.
 How can I do this?
 
 
Alt-M N works for me (toggles line numbering on and off).

Paul






Re: bibtex references not in compiled document...

2012-02-27 Thread Jonas Lindh
When I create a test file and use same bst or different (plainnat) I get
the same errors from bibtex... I am still presuming I have to put the bsts
yet some other place, but they are all over now... any input more on this?
Best regards
Jonas

2012/2/27 Jonas Lindh jonas.lindh...@gmail.com

 According to http://tug.org/mactex/faq/#qm04 I should put my bst file
 under ~/Library/texmf/tex/ which I have already done (also tried several
 other places, so I can't understand why it can't be read?
 Jonas


 2012/2/24 Jonas Lindh jonas.lindh...@gmail.com



 On Friday, February 24, 2012, Richard Heck wrote:

 On 02/24/2012 08:46 AM, Jonas Lindh wrote:
  Hi.
  After updating etc I can't seem to get my references into the compiled
  pdf using lyx 2.0.2 on macosx 10.7.3 and a bst that used to work great
  from a professor at my dept. MacTeX 2011 is installed and updated
  using Tex live...
 
  I am attaching the bst.+AKA-
 
  The output gives me (?) for refs and error for bibtex is :
  This is 8-bit Big BibTeX version 0.99d
  Implementation: +AKA-C for Unix
  Release version: 3.71 (31 May 2005)
 
  Error: cannot open CS file: 88591lat.csf
  The top-level auxiliary file: thesis+AF8-vers16.1.aux
  I couldn't open style file
 
 45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib.bst
  ---line 1387 of file thesis+AF8-vers16.1.aux
  +AKA-:
 
 +AFw-bibstyle+AHs-45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib
  +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKAAfQ-
  I'm skipping whatever remains of this command
  I couldn't open database file
 
 44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16.bib
  ---line 1388 of file thesis+AF8-vers16.1.aux
  +AKA-:
 
 +AFw-bibdata+AHs-44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16
  +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AH0-
  I'm skipping whatever remains of this command
  I found no database files---while reading file thesis+AF8-vers16.1.aux
  I found no style file---while reading file thesis+AF8-vers16.1.aux
 
 I'm not sure what you updated, but it looks as if LaTeX simply isn't
 finding the bst file.


 I ran tex check... Then checked log - bibtex


 It also looks as if LyX is copying it to your
 temporary directory, and THEN LaTeX isn't finding it. This may be due to
 some changes in how local files are handled in 2.0.2.


 Suspected that too and put it in the same folder as the lyx doc, but also
 in tex folders I could think of and find documentation of, but didn't help,
 maybe need to put in yet another path, somebody knows where it's looking on
 mac/unix?


 I'd suggest that
 you put the bst file in some location where LaTeX will find it without
 its having to be copied to the temporary directory. Where this is on
 Mac, I'm afraid I do not know.

 After you get this error, you might also look in the temporary
 directory. Is the referenced file there?


 Which tmp? Lyx?
 Thanks for answering so quickly...
 Jonas



 Richard



 --
 
 http://www.ling.gu.se/~jonas




 --
 http://www.ling.gu.se/~jonas





-- 
http://www.ling.gu.se/~jonas


Re: Margins in the beginning of the chapter

2012-02-27 Thread Marcelo Acuña




 
I've written a documment, using the book Koma-Script class. I need to 
put some specific margins in my document, so I indicated the space in 
this option for that in my document. 

But my problem is that when each chapter begins (also in the index), lyx puts 
the name of this chapter with too muchtop margin, and not the same that I've 
put and that is in the page where no chapter begins.

I need to change this margin, in the index as well as in the beginning of the 
each chapter in my document.

If anyone can help me, I would really be grateful.

By the way, I'm from Spain, is there any mailinglist similar to this in 
Spanish?

Thank you.

titlesec and titletoc packages allowto customize chapter, sections, index pages.
Marcelo

Re: Embedded Fonts

2012-02-27 Thread Richard Heck

On 02/27/2012 07:02 AM, Liviu Andronic wrote:

On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojasjcredbe...@gmail.com  wrote:

Dear all, I would like to use Lulu.com to print a book. Nevertheless, the
ask for the fonts to be embedded in the PDF. Does Lyx do that by default?


Mos often, yes. To verify, open the PDF in acroread or evince and
access ctrl+d and alt+enter, respectively. In the Fonts tab you should
have information on whether they're embedded or not.
The pdffonts command line program, which is in the poppler-utils package 
under Fedora, will also give you this sort of info, e.g.:


/home/rgheck/  pdffonts files/papers/*s.pdf
name type  emb sub uni object ID
 - --- --- --- -
VSOLGR+NimbusRomNo9L-MediType 1yes yes no  10  0
PSVDEG+NimbusRomNo9L-ReguType 1yes yes no  11  0
VLNPXI+rsfs10Type 1yes yes no  13  0
QSOCSX+NimbusRomNo9L-ReguItalType 1yes yes no  14  0
SOSTRQ+CMR10 Type 1yes yes no  15  0
QEOQKF+MSAM10Type 1yes yes no  51  0
QOGFHB+CMSY10Type 1yes yes no  52  0
PNZXQF+StandardSymL-Slant_167Type 1yes yes no  53  0
AFKEXM+CMMI10Type 1yes yes no  68  0
LKHCYG+StandardSymL  Type 1yes yes no  69  0
QGYCPK+NimbusRomNo9L-MediItalType 1yes yes no 163  0
TQOUUV+CMEX10Type 1yes yes no 398  0
JQJNGR+MSBM10Type 1yes yes no 586  0
ZLIDOM+SFTT1095  Type 1yes yes no 801  0

Richard



Re: Embedded Fonts

2012-02-27 Thread Les Denham
On Mon, 27 Feb 2012 13:02:51 +0100
Liviu Andronic landronim...@gmail.com wrote:

 On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas jcredbe...@gmail.com
 wrote:
  Dear all, I would like to use Lulu.com to print a book.
  Nevertheless, the ask for the fonts to be embedded in the PDF. Does
  Lyx do that by default?
 
 Mos often, yes. To verify, open the PDF in acroread or evince and
 access ctrl+d and alt+enter, respectively. In the Fonts tab you should
 have information on whether they're embedded or not.
 
 Liviu

One potential source of non-embedded fonts is figures (usually in PDF
format) with non-embedded fonts. If the PDF reader tells you there are
fonts in the document which are not embedded, check any PDF figures the
same way. The solution for non-embedded fonts in PDF figures depends on
the source of the figures: if you didn't generate the figures yourself,
embedding the fonts could be tricky. The ultimate solution is to
convert the PDF figures to raster images (PNG is best) at high enough
resolution to meet your final requirements. But this can generate very
large PDF files.

Les


Re: References in floats come first?

2012-02-27 Thread Richard Heck

On 02/27/2012 09:36 AM, Amr Alaa wrote:

Would you be kind enough to share the solution with
us as I have the same problem.


The problem was that the label wasn't inside the caption, if I remember 
right. That is where it needs to be.


Richard



Re: need working example of copier to customize pdf output

2012-02-27 Thread Paul Johnson
On Sat, Feb 25, 2012 at 3:00 PM, Richard Heck rgh...@comcast.net wrote:
 On 02/25/2012 01:43 PM, Paul Johnson wrote:

 Copiers are tied to formats, so you will need to create a new format first.
 Call it PDF (beamer), or something of the sort. When you do, you can
 assign a copier program. The copier will have to be responsible for the
 actual copying, as well as the conversion you want. Write a little shell
 script that takes two arguments, the input file and its output location. So
 something like:

 #!/bin/bash
 INFILE=$1;
 OUTFILE=$2;
 if [ -z $OUTFILE ]; then exit 1; fi
 pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

 Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
 executable, and then enter
    pdfcopier.sh $$i $$o
 into the copier field for your new format.

 Richard


Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for short name.  I was guessing something unique like pdf5.

#
# FORMATS SECTION ##
#

\format pdf5 pdf PDF (BEAMER)  evince auto
document,vector,menu=export

#
# COPIERS SECTION ##
#

\copier pdf5 pdfcopier.sh \$$i\ \$$o\


That fails thusly:

$ lyx -e pdf5 hpcexample-1.lyx
Error: Couldn't export file

No information for exporting the format PDF (BEAMER).


PDF (BEAMER) does not show in the LyX export menu.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Page numbers in book document class

2012-02-27 Thread UD

I am using the book(AMS) document class to write a chapter for a book.
Almost everything is fine, except for the first page of the 
Bibliography: its page number is at
the bottom of the page, rather than in the upper right corner, where all 
the other pages have their numbers.

Using \thispagestyle{headings} did not fix it.
Any ideas?
Thanks,

--
Ehud Kaplan,


Re: need working example of copier to customize pdf output

2012-02-27 Thread Richard Heck

On 02/27/2012 01:11 PM, Paul Johnson wrote:

On Sat, Feb 25, 2012 at 3:00 PM, Richard Heckrgh...@comcast.net  wrote:

On 02/25/2012 01:43 PM, Paul Johnson wrote:
Copiers are tied to formats, so you will need to create a new format first.
Call it PDF (beamer), or something of the sort. When you do, you can
assign a copier program. The copier will have to be responsible for the
actual copying, as well as the conversion you want. Write a little shell
script that takes two arguments, the input file and its output location. So
something like:

#!/bin/bash
INFILE=$1;
OUTFILE=$2;
if [ -z $OUTFILE ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
executable, and then enter
pdfcopier.sh $$i $$o
into the copier field for your new format.

Richard


Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for short name.  I was guessing something unique like pdf5.
Yes, that's fine. Now you just need to define a pdflatex -- pdf5 
converter. This can be done in the UI: Just copy over the information 
from the existing LaTeX (pdflatex) -- PDF (pdflatex) converter. 
Then LyX knows how to produce the pdf5 format, and it should invoke your 
copier when it is done.


Richard



Re: How to force tex2lyx to read unicode (from within Lyx)?

2012-02-27 Thread Guenter Milde
On 2012-02-19, Georg Baum wrote:
 Guenter Milde wrote:
 On 2012-02-15, Georg Baum wrote:
 Jean-Marc Lasgouttes wrote:

 Unfortunately I know next to nothing about use_non_tex_fonts. After
 reading the code and user guide a bit I see that using xetex is only
 possible if use_non_tex_fonts is true, so your patch looks fine.

 It is the other way round: using xetex or luatex is also possible without
 use_non_tex_fonts (which actually means use_fontspec). OTOH, with
 use_non_tex_fonts True, it one of xetex or luatex must be used.

 For luatex I agree, but for xetex I don't believe that you are right. Do you 
 have an example .lyx file, where use_non_tex_fonts is false, but xetex is 
 still used? If you are right, the patch introduces a regression.

Just take a normal file (with use_non_tex_fonts False) and select one
of

FileExportLaTeX (XeTex)
FileExportPDF (XeTeX)
ViewOther FormatsPDF (XeTeX)

The exported LaTeX with my somewhat outdated LyX-svn is

  %% LyX 2.1.0svn created this file.  For more info, see http://www.lyx.org/.
  %% Do not edit unless you really know what you are doing.
  \documentclass[english]{article}
  \usepackage[T1]{fontenc}
  \usepackage{babel}
  \usepackage{xunicode}
  \begin{document}
  Test
  \end{document}

and compiles fine with XeTeX.

Günter



Re: Margins in the beginning of the chapter

2012-02-27 Thread Guenter Milde
On 2012-02-27, Marcelo Acuña wrote:

 I've written a documment, using the book Koma-Script class. I need to 
 put some specific margins in my document, so I indicated the space in 
 this option for that in my document. 

But my problem is that when each chapter begins (also in the index),
lyx puts the name of this chapter with too muchtop margin, and not the
same that I've put and that is in the page where no chapter begins.

I need to change this margin, in the index as well as in the beginning
of the each chapter in my document.

 titlesec and titletoc packages allowto customize chapter, sections,
 index pages.

However, with the KOMA classes, it is better to use the configuration
handles provided by KOMA-script. See the comprehensive guide scrguien.pdf
for your options. Preamble code should go to DocumentSettingsLaTeX
preamble, class arguments to DocumentSettingsClass ...

Günter



Re: How do I get the TeX Gyre fonts to show up as options?

2012-02-27 Thread Guenter Milde
On 2012-02-26, Eric Weir wrote:

 [-- Type: text/plain, Encoding: quoted-printable --]


 Planning to install the tex gyre fonts on my Mac, I inquired at tex on
 mac os x, I was informed that they are already installed, i.e., that
 they come with the tex live installations. So, how do I get them to
 show up as options under document  settings  fonts?

This depends: 

* With use non tex fonts (i.e. XeTeX or LuaTeX with the fontspec
  package), make sure that the fonts are known to the system.
 
* With 8-bit TeX engines (latex, pdflatex), vote for the bug to include
  support for more font packages (or collect money to pay someone to
  implement it) ...
  
  For the time beeing: leave the GUI font setting at [Default] and
  select the relevant font package in the user preamble.
  
Günter  
 



Re: points de suspensions

2012-02-27 Thread Guenter Milde
On 2012-02-25, Cyril Dupuis wrote:


 I try to edit the source code, but with no results

My tip for source code editing is:

* Change one occurence in LyX by hand, save.

* Look at the *.lyx file in a text editor to see what the before and
  after versions look like in the source.

* Do an advanced search and replace in the text editor, Save (possibly under
  a different name or after checking in a version in my version control).

* (Re-)open in LyX and check if the replacement is correct.

[* write back to the original name]

Günter



Re: lyx latex-import problem

2012-02-27 Thread Guenter Milde
On 2012-02-19, Ingar Pareliussen wrote:
 Hi

 I have a couple of hundred abstracts from a web form that produces
 simple LaTeX files. I have cat'ed them into one big LaTeX file and
 imported it to LyX. This works for the most part, but I have problem
 with \sindex that needs a option i [index_name] which is not 
 recognized by LyX and therefor not put into ERT.

 I tried to get search replace it, but when LyX search within ERT it
 uses all memory and even if it seems to do the right thing it has been
 working on the file for a couple of hours... (file is only 300k and the
 box has 4G of ram, so something seems to be amiss)

 Is there some advice on how to do this more efficient? I could do it
 manually, but automated is better :)

Edit the lyx source in a text editor?
If the important part is inside ERT, this should be quite simple.

Günter



Re: How do I get the TeX Gyre fonts to show up as options?

2012-02-27 Thread Eric Weir

On Feb 27, 2012, at 4:25 PM, Guenter Milde wrote:

 On 2012-02-26, Eric Weir wrote:
 
 Planning to install the tex gyre fonts on my Mac, I inquired at tex on
 mac os x, I was informed that they are already installed, i.e., that
 they come with the tex live installations. So, how do I get them to
 show up as options under document  settings  fonts?
 
 This depends: 
 
 * With use non tex fonts (i.e. XeTeX or LuaTeX with the fontspec
  package), make sure that the fonts are known to the system.

Thanks, Guenter. A guy on the tex on mac osx listserv gave me a simple way to 
install the fonts and get them recognized on the system: start the mactex/tex 
live installer, deselect everything that's already selected, select the install 
tex gyre fonts option, complete the install. When that's done the fonts are 
installed in the user's system font folder, i.e., ~\library\fonts.


 * With 8-bit TeX engines (latex, pdflatex), vote for the bug to include
  support for more font packages (or collect money to pay someone to
  implement it) ...
 
  For the time beeing: leave the GUI font setting at [Default] and
  select the relevant font package in the user preamble.

For reasons explained to me by Stefano---the main one being that the app in 
which I compose, Scrivener, exports unicode---I am going with xetex for 
compiling. Prior to that I tried a latex compile with the tex gyre specified in 
the preamble, but it didn't work. Got a message to the effect that could not 
open 'file.dvi'.

Again, thanks for responding.

Sincerely,
--
Eric Weir
eew...@bellsouth.net
Decatur, GA  USA

Whatever you can do, or dream you can, begin it. 
Boldness has genius, power and magic in it.  

- Johann Wolfgang von Goethe



Re: xetex and theorem

2012-02-27 Thread d c
Torquil Macdonald Sørensen torquil at gmail.com writes:
 
 On 11/01/12 15:41, Jürgen Spitzmüller wrote:

  A crude workaround is to put
  \providecommand\inputencoding[1]{}
  in your preamble.
 
 Thank you very much!
 

I second that! I was ready to lose my mind! Phew



problem control version windows, lyx-2.0.3

2012-02-27 Thread Waluyo Adi Siswanto
Hi,

I just install LyX 2.0.3(downloaded from sourceforge mentioned by Uwe)
in Windows 7(64bit) and want to try control version.
When I open lyx document (*.lyx) in control version folder (using
TortoiseSVN). The file that I open does not show that it is under
control version.
FileVersion control only register menu.
and this is the error message after I try to register.

===
14:14:54.297: Opening document
C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx...
14:14:58.555: Document
C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
opened.
14:15:04.327: The process failed to start. Either the invoked program
is missing, or you may have insufficient permissions to invoke the
program.
Running: ci -q -u -i -t-(no initial description)
FEM-lab-instructor-manual-ver-trunk.lyx
D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(249): Systemcall: 'ci -q
-u -i -t-(no initial description)
FEM-lab-instructor-manual-ver-trunk.lyx' did not start!
D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(250): error The process
failed to start. Either the invoked program is missing, or you may
have insufficient permissions to invoke the program.
Error: Revision control error.

Some problem occured while running the command:
'ci -q -u -i -t-(no initial description)
FEM-lab-instructor-manual-ver-trunk.lyx'.
14:15:09.752: Document
C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
reloaded.
14:15:12.658: (dialog-toggle progress)
14:16:17.039: (dialog-show aboutlyx)
14:19:54.218: Automatic save done.


Why it calls from this directory: D:/LyXSVN/LyX2.0x/src/support

This is not my folder, I don't have this folder.

PS: In Ubuntu lyx 2.0.0, I don't have problems. Have not tried the latest 2.0.3

regards
waluyo


Re: problem control version windows, lyx-2.0.3

2012-02-27 Thread Stephan Witt
Am 28.02.2012 um 07:33 schrieb Waluyo Adi Siswanto:

 Hi,
 
 I just install LyX 2.0.3(downloaded from sourceforge mentioned by Uwe)
 in Windows 7(64bit) and want to try control version.
 When I open lyx document (*.lyx) in control version folder (using
 TortoiseSVN). The file that I open does not show that it is under
 control version.
 FileVersion control only register menu.
 and this is the error message after I try to register.
 
 ===
 14:14:54.297: Opening document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx...
 14:14:58.555: Document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
 opened.
 14:15:04.327: The process failed to start. Either the invoked program
 is missing, or you may have insufficient permissions to invoke the
 program.
 Running: ci -q -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx
 D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(249): Systemcall: 'ci -q
 -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx' did not start!
 D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(250): error The process
 failed to start. Either the invoked program is missing, or you may
 have insufficient permissions to invoke the program.
 Error: Revision control error.
 
 Some problem occured while running the command:
 'ci -q -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx'.
 14:15:09.752: Document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
 reloaded.
 14:15:12.658: (dialog-toggle progress)
 14:16:17.039: (dialog-show aboutlyx)
 14:19:54.218: Automatic save done.
 
 
 Why it calls from this directory: D:/LyXSVN/LyX2.0x/src/support
 
 This is not my folder, I don't have this folder.
 
 PS: In Ubuntu lyx 2.0.0, I don't have problems. Have not tried the latest 
 2.0.3

There is a know problem with SVN: since svn client version 1.7.x the local 
checkouts
are not detected by LyX anymore. Perhaps your client TortoiseSVN is based on 
that version.
And beware, it may stop working after an upgrade of your Ubuntu SVN client 
package.

Stephan

Re: problem control version windows, lyx-2.0.3

2012-02-27 Thread Waluyo Adi Siswanto
On 28 February 2012 14:51, Stephan Witt st.w...@gmx.net wrote:
 Am 28.02.2012 um 07:33 schrieb Waluyo Adi Siswanto:

 Hi,

 I just install LyX 2.0.3(downloaded from sourceforge mentioned by Uwe)
 in Windows 7(64bit) and want to try control version.
 When I open lyx document (*.lyx) in control version folder (using
 TortoiseSVN). The file that I open does not show that it is under
 control version.
 FileVersion control only register menu.
 and this is the error message after I try to register.

 ===
 14:14:54.297: Opening document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx...
 14:14:58.555: Document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
 opened.
 14:15:04.327: The process failed to start. Either the invoked program
 is missing, or you may have insufficient permissions to invoke the
 program.
 Running: ci -q -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx
 D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(249): Systemcall: 'ci -q
 -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx' did not start!
 D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(250): error The process
 failed to start. Either the invoked program is missing, or you may
 have insufficient permissions to invoke the program.
 Error: Revision control error.
 
 Some problem occured while running the command:
 'ci -q -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx'.
 14:15:09.752: Document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
 reloaded.
 14:15:12.658: (dialog-toggle progress)
 14:16:17.039: (dialog-show aboutlyx)
 14:19:54.218: Automatic save done.
 

 Why it calls from this directory: D:/LyXSVN/LyX2.0x/src/support

 This is not my folder, I don't have this folder.

 PS: In Ubuntu lyx 2.0.0, I don't have problems. Have not tried the latest 
 2.0.3

 There is a know problem with SVN: since svn client version 1.7.x the local 
 checkouts
 are not detected by LyX anymore. Perhaps your client TortoiseSVN is based on 
 that version.

Oghh,
my colleagues and I want to prepare documents collaboratively  using
LyX under version control.
We have installed TortoiseSVN 1.7.3 (Subversion 1.7.2). We have setup
the subversion server Ubuntu (11.04) using apache svn (subversion
1.6.12). Most of us (clients) are windows (7) users.

So.. how can we prepare a collaborative document in LyX in windows system.
Please.. Do you have any suggestion, the system that we have to use.
What is the software svn client and the server, that perfectly match
with LyX.

 And beware, it may stop working after an upgrade of your Ubuntu SVN client 
 package.


Yes I have a svn lyx project in googlecode. I can only use my ubuntu
machine 11.04 to check-in directly from lyx. I cannot do in another
ubuntu machine (11.10)

 Stephan

Regards,
waluyo


Re: Embedded Fonts

2012-02-27 Thread Anthony Campbell
On 27 Feb 2012, Liviu Andronic wrote:
 On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas jcredbe...@gmail.com wrote:
  Dear all, I would like to use Lulu.com to print a book. Nevertheless, the
  ask for the fonts to be embedded in the PDF. Does Lyx do that by default?
 
 Mos often, yes. To verify, open the PDF in acroread or evince and
 access ctrl+d and alt+enter, respectively. In the Fonts tab you should
 have information on whether they're embedded or not.
 
 Liviu

Usually the fonts are embedded OK for Lulu. You can avoid this problem
by submitting your file as postscript (ps), which will work.

AC

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: bibtex references not in compiled document...

2012-02-27 Thread Jonas Lindh
According to http://tug.org/mactex/faq/#qm04 I should put my bst file under
~/Library/texmf/tex/ which I have already done (also tried several other
places, so I can't understand why it can't be read?
Jonas

2012/2/24 Jonas Lindh jonas.lindh...@gmail.com



 On Friday, February 24, 2012, Richard Heck wrote:

 On 02/24/2012 08:46 AM, Jonas Lindh wrote:
  Hi.
  After updating etc I can't seem to get my references into the compiled
  pdf using lyx 2.0.2 on macosx 10.7.3 and a bst that used to work great
  from a professor at my dept. MacTeX 2011 is installed and updated
  using Tex live...
 
  I am attaching the bst.+AKA-
 
  The output gives me (?) for refs and error for bibtex is :
  This is 8-bit Big BibTeX version 0.99d
  Implementation: +AKA-C for Unix
  Release version: 3.71 (31 May 2005)
 
  Error: cannot open CS file: 88591lat.csf
  The top-level auxiliary file: thesis+AF8-vers16.1.aux
  I couldn't open style file
 
 45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib.bst
  ---line 1387 of file thesis+AF8-vers16.1.aux
  +AKA-:
 
 +AFw-bibstyle+AHs-45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib
  +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKAAfQ-
  I'm skipping whatever remains of this command
  I couldn't open database file
 
 44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16.bib
  ---line 1388 of file thesis+AF8-vers16.1.aux
  +AKA-:
 
 +AFw-bibdata+AHs-44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16
  +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AH0-
  I'm skipping whatever remains of this command
  I found no database files---while reading file thesis+AF8-vers16.1.aux
  I found no style file---while reading file thesis+AF8-vers16.1.aux
 
 I'm not sure what you updated, but it looks as if LaTeX simply isn't
 finding the bst file.


 I ran tex check... Then checked log - bibtex


 It also looks as if LyX is copying it to your
 temporary directory, and THEN LaTeX isn't finding it. This may be due to
 some changes in how local files are handled in 2.0.2.


 Suspected that too and put it in the same folder as the lyx doc, but also
 in tex folders I could think of and find documentation of, but didn't help,
 maybe need to put in yet another path, somebody knows where it's looking on
 mac/unix?


 I'd suggest that
 you put the bst file in some location where LaTeX will find it without
 its having to be copied to the temporary directory. Where this is on
 Mac, I'm afraid I do not know.

 After you get this error, you might also look in the temporary
 directory. Is the referenced file there?


 Which tmp? Lyx?
 Thanks for answering so quickly...
 Jonas



 Richard



 --
 
 http://www.ling.gu.se/~jonas




-- 
http://www.ling.gu.se/~jonas


Re: Embedded Fonts

2012-02-27 Thread Liviu Andronic
On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas jcredbe...@gmail.com wrote:
 Dear all, I would like to use Lulu.com to print a book. Nevertheless, the
 ask for the fonts to be embedded in the PDF. Does Lyx do that by default?

Mos often, yes. To verify, open the PDF in acroread or evince and
access ctrl+d and alt+enter, respectively. In the Fonts tab you should
have information on whether they're embedded or not.

Liviu


Re: subeq numbers in ams aligned

2012-02-27 Thread Paul A . Rubin
Neal Becker ndbecker2 at gmail.com writes:

 
 I have an ams aligned env, and I'd like each of the subeqs numbered.
 How can I do this?
 
 
Alt-M N works for me (toggles line numbering on and off).

Paul






Re: bibtex references not in compiled document...

2012-02-27 Thread Jonas Lindh
When I create a test file and use same bst or different (plainnat) I get
the same errors from bibtex... I am still presuming I have to put the bsts
yet some other place, but they are all over now... any input more on this?
Best regards
Jonas

2012/2/27 Jonas Lindh jonas.lindh...@gmail.com

 According to http://tug.org/mactex/faq/#qm04 I should put my bst file
 under ~/Library/texmf/tex/ which I have already done (also tried several
 other places, so I can't understand why it can't be read?
 Jonas


 2012/2/24 Jonas Lindh jonas.lindh...@gmail.com



 On Friday, February 24, 2012, Richard Heck wrote:

 On 02/24/2012 08:46 AM, Jonas Lindh wrote:
  Hi.
  After updating etc I can't seem to get my references into the compiled
  pdf using lyx 2.0.2 on macosx 10.7.3 and a bst that used to work great
  from a professor at my dept. MacTeX 2011 is installed and updated
  using Tex live...
 
  I am attaching the bst.+AKA-
 
  The output gives me (?) for refs and error for bibtex is :
  This is 8-bit Big BibTeX version 0.99d
  Implementation: +AKA-C for Unix
  Release version: 3.71 (31 May 2005)
 
  Error: cannot open CS file: 88591lat.csf
  The top-level auxiliary file: thesis+AF8-vers16.1.aux
  I couldn't open style file
 
 45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib.bst
  ---line 1387 of file thesis+AF8-vers16.1.aux
  +AKA-:
 
 +AFw-bibstyle+AHs-45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib
  +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKAAfQ-
  I'm skipping whatever remains of this command
  I couldn't open database file
 
 44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16.bib
  ---line 1388 of file thesis+AF8-vers16.1.aux
  +AKA-:
 
 +AFw-bibdata+AHs-44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16
  +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
  +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AH0-
  I'm skipping whatever remains of this command
  I found no database files---while reading file thesis+AF8-vers16.1.aux
  I found no style file---while reading file thesis+AF8-vers16.1.aux
 
 I'm not sure what you updated, but it looks as if LaTeX simply isn't
 finding the bst file.


 I ran tex check... Then checked log - bibtex


 It also looks as if LyX is copying it to your
 temporary directory, and THEN LaTeX isn't finding it. This may be due to
 some changes in how local files are handled in 2.0.2.


 Suspected that too and put it in the same folder as the lyx doc, but also
 in tex folders I could think of and find documentation of, but didn't help,
 maybe need to put in yet another path, somebody knows where it's looking on
 mac/unix?


 I'd suggest that
 you put the bst file in some location where LaTeX will find it without
 its having to be copied to the temporary directory. Where this is on
 Mac, I'm afraid I do not know.

 After you get this error, you might also look in the temporary
 directory. Is the referenced file there?


 Which tmp? Lyx?
 Thanks for answering so quickly...
 Jonas



 Richard



 --
 
 http://www.ling.gu.se/~jonas




 --
 http://www.ling.gu.se/~jonas





-- 
http://www.ling.gu.se/~jonas


Re: Margins in the beginning of the chapter

2012-02-27 Thread Marcelo Acuña




 
I've written a documment, using the book Koma-Script class. I need to 
put some specific margins in my document, so I indicated the space in 
this option for that in my document. 

But my problem is that when each chapter begins (also in the index), lyx puts 
the name of this chapter with too muchtop margin, and not the same that I've 
put and that is in the page where no chapter begins.

I need to change this margin, in the index as well as in the beginning of the 
each chapter in my document.

If anyone can help me, I would really be grateful.

By the way, I'm from Spain, is there any mailinglist similar to this in 
Spanish?

Thank you.

titlesec and titletoc packages allowto customize chapter, sections, index pages.
Marcelo

Re: Embedded Fonts

2012-02-27 Thread Richard Heck

On 02/27/2012 07:02 AM, Liviu Andronic wrote:

On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojasjcredbe...@gmail.com  wrote:

Dear all, I would like to use Lulu.com to print a book. Nevertheless, the
ask for the fonts to be embedded in the PDF. Does Lyx do that by default?


Mos often, yes. To verify, open the PDF in acroread or evince and
access ctrl+d and alt+enter, respectively. In the Fonts tab you should
have information on whether they're embedded or not.
The pdffonts command line program, which is in the poppler-utils package 
under Fedora, will also give you this sort of info, e.g.:


/home/rgheck/  pdffonts files/papers/*s.pdf
name type  emb sub uni object ID
 - --- --- --- -
VSOLGR+NimbusRomNo9L-MediType 1yes yes no  10  0
PSVDEG+NimbusRomNo9L-ReguType 1yes yes no  11  0
VLNPXI+rsfs10Type 1yes yes no  13  0
QSOCSX+NimbusRomNo9L-ReguItalType 1yes yes no  14  0
SOSTRQ+CMR10 Type 1yes yes no  15  0
QEOQKF+MSAM10Type 1yes yes no  51  0
QOGFHB+CMSY10Type 1yes yes no  52  0
PNZXQF+StandardSymL-Slant_167Type 1yes yes no  53  0
AFKEXM+CMMI10Type 1yes yes no  68  0
LKHCYG+StandardSymL  Type 1yes yes no  69  0
QGYCPK+NimbusRomNo9L-MediItalType 1yes yes no 163  0
TQOUUV+CMEX10Type 1yes yes no 398  0
JQJNGR+MSBM10Type 1yes yes no 586  0
ZLIDOM+SFTT1095  Type 1yes yes no 801  0

Richard



Re: Embedded Fonts

2012-02-27 Thread Les Denham
On Mon, 27 Feb 2012 13:02:51 +0100
Liviu Andronic landronim...@gmail.com wrote:

 On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas jcredbe...@gmail.com
 wrote:
  Dear all, I would like to use Lulu.com to print a book.
  Nevertheless, the ask for the fonts to be embedded in the PDF. Does
  Lyx do that by default?
 
 Mos often, yes. To verify, open the PDF in acroread or evince and
 access ctrl+d and alt+enter, respectively. In the Fonts tab you should
 have information on whether they're embedded or not.
 
 Liviu

One potential source of non-embedded fonts is figures (usually in PDF
format) with non-embedded fonts. If the PDF reader tells you there are
fonts in the document which are not embedded, check any PDF figures the
same way. The solution for non-embedded fonts in PDF figures depends on
the source of the figures: if you didn't generate the figures yourself,
embedding the fonts could be tricky. The ultimate solution is to
convert the PDF figures to raster images (PNG is best) at high enough
resolution to meet your final requirements. But this can generate very
large PDF files.

Les


Re: References in floats come first?

2012-02-27 Thread Richard Heck

On 02/27/2012 09:36 AM, Amr Alaa wrote:

Would you be kind enough to share the solution with
us as I have the same problem.


The problem was that the label wasn't inside the caption, if I remember 
right. That is where it needs to be.


Richard



Re: need working example of copier to customize pdf output

2012-02-27 Thread Paul Johnson
On Sat, Feb 25, 2012 at 3:00 PM, Richard Heck rgh...@comcast.net wrote:
 On 02/25/2012 01:43 PM, Paul Johnson wrote:

 Copiers are tied to formats, so you will need to create a new format first.
 Call it PDF (beamer), or something of the sort. When you do, you can
 assign a copier program. The copier will have to be responsible for the
 actual copying, as well as the conversion you want. Write a little shell
 script that takes two arguments, the input file and its output location. So
 something like:

 #!/bin/bash
 INFILE=$1;
 OUTFILE=$2;
 if [ -z $OUTFILE ]; then exit 1; fi
 pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

 Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
 executable, and then enter
    pdfcopier.sh $$i $$o
 into the copier field for your new format.

 Richard


Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for short name.  I was guessing something unique like pdf5.

#
# FORMATS SECTION ##
#

\format pdf5 pdf PDF (BEAMER)  evince auto
document,vector,menu=export

#
# COPIERS SECTION ##
#

\copier pdf5 pdfcopier.sh \$$i\ \$$o\


That fails thusly:

$ lyx -e pdf5 hpcexample-1.lyx
Error: Couldn't export file

No information for exporting the format PDF (BEAMER).


PDF (BEAMER) does not show in the LyX export menu.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Page numbers in book document class

2012-02-27 Thread UD

I am using the book(AMS) document class to write a chapter for a book.
Almost everything is fine, except for the first page of the 
Bibliography: its page number is at
the bottom of the page, rather than in the upper right corner, where all 
the other pages have their numbers.

Using \thispagestyle{headings} did not fix it.
Any ideas?
Thanks,

--
Ehud Kaplan,


Re: need working example of copier to customize pdf output

2012-02-27 Thread Richard Heck

On 02/27/2012 01:11 PM, Paul Johnson wrote:

On Sat, Feb 25, 2012 at 3:00 PM, Richard Heckrgh...@comcast.net  wrote:

On 02/25/2012 01:43 PM, Paul Johnson wrote:
Copiers are tied to formats, so you will need to create a new format first.
Call it PDF (beamer), or something of the sort. When you do, you can
assign a copier program. The copier will have to be responsible for the
actual copying, as well as the conversion you want. Write a little shell
script that takes two arguments, the input file and its output location. So
something like:

#!/bin/bash
INFILE=$1;
OUTFILE=$2;
if [ -z $OUTFILE ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output $OUTFILE --batch $1;

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
executable, and then enter
pdfcopier.sh $$i $$o
into the copier field for your new format.

Richard


Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for short name.  I was guessing something unique like pdf5.
Yes, that's fine. Now you just need to define a pdflatex -- pdf5 
converter. This can be done in the UI: Just copy over the information 
from the existing LaTeX (pdflatex) -- PDF (pdflatex) converter. 
Then LyX knows how to produce the pdf5 format, and it should invoke your 
copier when it is done.


Richard



Re: How to force tex2lyx to read unicode (from within Lyx)?

2012-02-27 Thread Guenter Milde
On 2012-02-19, Georg Baum wrote:
 Guenter Milde wrote:
 On 2012-02-15, Georg Baum wrote:
 Jean-Marc Lasgouttes wrote:

 Unfortunately I know next to nothing about use_non_tex_fonts. After
 reading the code and user guide a bit I see that using xetex is only
 possible if use_non_tex_fonts is true, so your patch looks fine.

 It is the other way round: using xetex or luatex is also possible without
 use_non_tex_fonts (which actually means use_fontspec). OTOH, with
 use_non_tex_fonts True, it one of xetex or luatex must be used.

 For luatex I agree, but for xetex I don't believe that you are right. Do you 
 have an example .lyx file, where use_non_tex_fonts is false, but xetex is 
 still used? If you are right, the patch introduces a regression.

Just take a normal file (with use_non_tex_fonts False) and select one
of

FileExportLaTeX (XeTex)
FileExportPDF (XeTeX)
ViewOther FormatsPDF (XeTeX)

The exported LaTeX with my somewhat outdated LyX-svn is

  %% LyX 2.1.0svn created this file.  For more info, see http://www.lyx.org/.
  %% Do not edit unless you really know what you are doing.
  \documentclass[english]{article}
  \usepackage[T1]{fontenc}
  \usepackage{babel}
  \usepackage{xunicode}
  \begin{document}
  Test
  \end{document}

and compiles fine with XeTeX.

Günter



Re: Margins in the beginning of the chapter

2012-02-27 Thread Guenter Milde
On 2012-02-27, Marcelo Acuña wrote:

 I've written a documment, using the book Koma-Script class. I need to 
 put some specific margins in my document, so I indicated the space in 
 this option for that in my document. 

But my problem is that when each chapter begins (also in the index),
lyx puts the name of this chapter with too muchtop margin, and not the
same that I've put and that is in the page where no chapter begins.

I need to change this margin, in the index as well as in the beginning
of the each chapter in my document.

 titlesec and titletoc packages allowto customize chapter, sections,
 index pages.

However, with the KOMA classes, it is better to use the configuration
handles provided by KOMA-script. See the comprehensive guide scrguien.pdf
for your options. Preamble code should go to DocumentSettingsLaTeX
preamble, class arguments to DocumentSettingsClass ...

Günter



Re: How do I get the TeX Gyre fonts to show up as options?

2012-02-27 Thread Guenter Milde
On 2012-02-26, Eric Weir wrote:

 [-- Type: text/plain, Encoding: quoted-printable --]


 Planning to install the tex gyre fonts on my Mac, I inquired at tex on
 mac os x, I was informed that they are already installed, i.e., that
 they come with the tex live installations. So, how do I get them to
 show up as options under document  settings  fonts?

This depends: 

* With use non tex fonts (i.e. XeTeX or LuaTeX with the fontspec
  package), make sure that the fonts are known to the system.
 
* With 8-bit TeX engines (latex, pdflatex), vote for the bug to include
  support for more font packages (or collect money to pay someone to
  implement it) ...
  
  For the time beeing: leave the GUI font setting at [Default] and
  select the relevant font package in the user preamble.
  
Günter  
 



Re: points de suspensions

2012-02-27 Thread Guenter Milde
On 2012-02-25, Cyril Dupuis wrote:


 I try to edit the source code, but with no results

My tip for source code editing is:

* Change one occurence in LyX by hand, save.

* Look at the *.lyx file in a text editor to see what the before and
  after versions look like in the source.

* Do an advanced search and replace in the text editor, Save (possibly under
  a different name or after checking in a version in my version control).

* (Re-)open in LyX and check if the replacement is correct.

[* write back to the original name]

Günter



Re: lyx latex-import problem

2012-02-27 Thread Guenter Milde
On 2012-02-19, Ingar Pareliussen wrote:
 Hi

 I have a couple of hundred abstracts from a web form that produces
 simple LaTeX files. I have cat'ed them into one big LaTeX file and
 imported it to LyX. This works for the most part, but I have problem
 with \sindex that needs a option i [index_name] which is not 
 recognized by LyX and therefor not put into ERT.

 I tried to get search replace it, but when LyX search within ERT it
 uses all memory and even if it seems to do the right thing it has been
 working on the file for a couple of hours... (file is only 300k and the
 box has 4G of ram, so something seems to be amiss)

 Is there some advice on how to do this more efficient? I could do it
 manually, but automated is better :)

Edit the lyx source in a text editor?
If the important part is inside ERT, this should be quite simple.

Günter



Re: How do I get the TeX Gyre fonts to show up as options?

2012-02-27 Thread Eric Weir

On Feb 27, 2012, at 4:25 PM, Guenter Milde wrote:

 On 2012-02-26, Eric Weir wrote:
 
 Planning to install the tex gyre fonts on my Mac, I inquired at tex on
 mac os x, I was informed that they are already installed, i.e., that
 they come with the tex live installations. So, how do I get them to
 show up as options under document  settings  fonts?
 
 This depends: 
 
 * With use non tex fonts (i.e. XeTeX or LuaTeX with the fontspec
  package), make sure that the fonts are known to the system.

Thanks, Guenter. A guy on the tex on mac osx listserv gave me a simple way to 
install the fonts and get them recognized on the system: start the mactex/tex 
live installer, deselect everything that's already selected, select the install 
tex gyre fonts option, complete the install. When that's done the fonts are 
installed in the user's system font folder, i.e., ~\library\fonts.


 * With 8-bit TeX engines (latex, pdflatex), vote for the bug to include
  support for more font packages (or collect money to pay someone to
  implement it) ...
 
  For the time beeing: leave the GUI font setting at [Default] and
  select the relevant font package in the user preamble.

For reasons explained to me by Stefano---the main one being that the app in 
which I compose, Scrivener, exports unicode---I am going with xetex for 
compiling. Prior to that I tried a latex compile with the tex gyre specified in 
the preamble, but it didn't work. Got a message to the effect that could not 
open 'file.dvi'.

Again, thanks for responding.

Sincerely,
--
Eric Weir
eew...@bellsouth.net
Decatur, GA  USA

Whatever you can do, or dream you can, begin it. 
Boldness has genius, power and magic in it.  

- Johann Wolfgang von Goethe



Re: xetex and theorem

2012-02-27 Thread d c
Torquil Macdonald Sørensen torquil at gmail.com writes:
 
 On 11/01/12 15:41, Jürgen Spitzmüller wrote:

  A crude workaround is to put
  \providecommand\inputencoding[1]{}
  in your preamble.
 
 Thank you very much!
 

I second that! I was ready to lose my mind! Phew



problem control version windows, lyx-2.0.3

2012-02-27 Thread Waluyo Adi Siswanto
Hi,

I just install LyX 2.0.3(downloaded from sourceforge mentioned by Uwe)
in Windows 7(64bit) and want to try control version.
When I open lyx document (*.lyx) in control version folder (using
TortoiseSVN). The file that I open does not show that it is under
control version.
FileVersion control only register menu.
and this is the error message after I try to register.

===
14:14:54.297: Opening document
C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx...
14:14:58.555: Document
C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
opened.
14:15:04.327: The process failed to start. Either the invoked program
is missing, or you may have insufficient permissions to invoke the
program.
Running: ci -q -u -i -t-(no initial description)
FEM-lab-instructor-manual-ver-trunk.lyx
D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(249): Systemcall: 'ci -q
-u -i -t-(no initial description)
FEM-lab-instructor-manual-ver-trunk.lyx' did not start!
D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(250): error The process
failed to start. Either the invoked program is missing, or you may
have insufficient permissions to invoke the program.
Error: Revision control error.

Some problem occured while running the command:
'ci -q -u -i -t-(no initial description)
FEM-lab-instructor-manual-ver-trunk.lyx'.
14:15:09.752: Document
C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
reloaded.
14:15:12.658: (dialog-toggle progress)
14:16:17.039: (dialog-show aboutlyx)
14:19:54.218: Automatic save done.


Why it calls from this directory: D:/LyXSVN/LyX2.0x/src/support

This is not my folder, I don't have this folder.

PS: In Ubuntu lyx 2.0.0, I don't have problems. Have not tried the latest 2.0.3

regards
waluyo


Re: problem control version windows, lyx-2.0.3

2012-02-27 Thread Stephan Witt
Am 28.02.2012 um 07:33 schrieb Waluyo Adi Siswanto:

 Hi,
 
 I just install LyX 2.0.3(downloaded from sourceforge mentioned by Uwe)
 in Windows 7(64bit) and want to try control version.
 When I open lyx document (*.lyx) in control version folder (using
 TortoiseSVN). The file that I open does not show that it is under
 control version.
 FileVersion control only register menu.
 and this is the error message after I try to register.
 
 ===
 14:14:54.297: Opening document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx...
 14:14:58.555: Document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
 opened.
 14:15:04.327: The process failed to start. Either the invoked program
 is missing, or you may have insufficient permissions to invoke the
 program.
 Running: ci -q -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx
 D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(249): Systemcall: 'ci -q
 -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx' did not start!
 D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(250): error The process
 failed to start. Either the invoked program is missing, or you may
 have insufficient permissions to invoke the program.
 Error: Revision control error.
 
 Some problem occured while running the command:
 'ci -q -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx'.
 14:15:09.752: Document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
 reloaded.
 14:15:12.658: (dialog-toggle progress)
 14:16:17.039: (dialog-show aboutlyx)
 14:19:54.218: Automatic save done.
 
 
 Why it calls from this directory: D:/LyXSVN/LyX2.0x/src/support
 
 This is not my folder, I don't have this folder.
 
 PS: In Ubuntu lyx 2.0.0, I don't have problems. Have not tried the latest 
 2.0.3

There is a know problem with SVN: since svn client version 1.7.x the local 
checkouts
are not detected by LyX anymore. Perhaps your client TortoiseSVN is based on 
that version.
And beware, it may stop working after an upgrade of your Ubuntu SVN client 
package.

Stephan

Re: problem control version windows, lyx-2.0.3

2012-02-27 Thread Waluyo Adi Siswanto
On 28 February 2012 14:51, Stephan Witt st.w...@gmx.net wrote:
 Am 28.02.2012 um 07:33 schrieb Waluyo Adi Siswanto:

 Hi,

 I just install LyX 2.0.3(downloaded from sourceforge mentioned by Uwe)
 in Windows 7(64bit) and want to try control version.
 When I open lyx document (*.lyx) in control version folder (using
 TortoiseSVN). The file that I open does not show that it is under
 control version.
 FileVersion control only register menu.
 and this is the error message after I try to register.

 ===
 14:14:54.297: Opening document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx...
 14:14:58.555: Document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
 opened.
 14:15:04.327: The process failed to start. Either the invoked program
 is missing, or you may have insufficient permissions to invoke the
 program.
 Running: ci -q -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx
 D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(249): Systemcall: 'ci -q
 -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx' did not start!
 D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(250): error The process
 failed to start. Either the invoked program is missing, or you may
 have insufficient permissions to invoke the program.
 Error: Revision control error.
 
 Some problem occured while running the command:
 'ci -q -u -i -t-(no initial description)
 FEM-lab-instructor-manual-ver-trunk.lyx'.
 14:15:09.752: Document
 C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
 reloaded.
 14:15:12.658: (dialog-toggle progress)
 14:16:17.039: (dialog-show aboutlyx)
 14:19:54.218: Automatic save done.
 

 Why it calls from this directory: D:/LyXSVN/LyX2.0x/src/support

 This is not my folder, I don't have this folder.

 PS: In Ubuntu lyx 2.0.0, I don't have problems. Have not tried the latest 
 2.0.3

 There is a know problem with SVN: since svn client version 1.7.x the local 
 checkouts
 are not detected by LyX anymore. Perhaps your client TortoiseSVN is based on 
 that version.

Oghh,
my colleagues and I want to prepare documents collaboratively  using
LyX under version control.
We have installed TortoiseSVN 1.7.3 (Subversion 1.7.2). We have setup
the subversion server Ubuntu (11.04) using apache svn (subversion
1.6.12). Most of us (clients) are windows (7) users.

So.. how can we prepare a collaborative document in LyX in windows system.
Please.. Do you have any suggestion, the system that we have to use.
What is the software svn client and the server, that perfectly match
with LyX.

 And beware, it may stop working after an upgrade of your Ubuntu SVN client 
 package.


Yes I have a svn lyx project in googlecode. I can only use my ubuntu
machine 11.04 to check-in directly from lyx. I cannot do in another
ubuntu machine (11.10)

 Stephan

Regards,
waluyo


Re: Embedded Fonts

2012-02-27 Thread Anthony Campbell
On 27 Feb 2012, Liviu Andronic wrote:
 On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas jcredbe...@gmail.com wrote:
  Dear all, I would like to use Lulu.com to print a book. Nevertheless, the
  ask for the fonts to be embedded in the PDF. Does Lyx do that by default?
 
 Mos often, yes. To verify, open the PDF in acroread or evince and
 access ctrl+d and alt+enter, respectively. In the Fonts tab you should
 have information on whether they're embedded or not.
 
 Liviu

Usually the fonts are embedded OK for Lulu. You can avoid this problem
by submitting your file as postscript (ps), which will work.

AC

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell



Re: bibtex references not in compiled document...

2012-02-27 Thread Jonas Lindh
According to http://tug.org/mactex/faq/#qm04 I should put my bst file under
~/Library/texmf/tex/ which I have already done (also tried several other
places, so I can't understand why it can't be read?
Jonas

2012/2/24 Jonas Lindh 

>
>
> On Friday, February 24, 2012, Richard Heck wrote:
>
>> On 02/24/2012 08:46 AM, Jonas Lindh wrote:
>> > Hi.
>> > After updating etc I can't seem to get my references into the compiled
>> > pdf using lyx 2.0.2 on macosx 10.7.3 and a bst that used to work great
>> > from a professor at my dept. MacTeX 2011 is installed and updated
>> > using Tex live...
>> >
>> > I am attaching the bst.+AKA-
>> >
>> > The output gives me (?) for refs and error for bibtex is :
>> > This is 8-bit Big BibTeX version 0.99d
>> > Implementation: +AKA-C for Unix
>> > Release version: 3.71 (31 May 2005)
>> >
>> > Error: cannot open CS file: 88591lat.csf
>> > The top-level auxiliary file: thesis+AF8-vers16.1.aux
>> > I couldn't open style file
>> >
>> 45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib.bst
>> > ---line 1387 of file thesis+AF8-vers16.1.aux
>> > +AKA-:
>> >
>> +AFw-bibstyle+AHs-45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib
>> > +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
>> > +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
>> > +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKAAfQ-
>> > I'm skipping whatever remains of this command
>> > I couldn't open database file
>> >
>> 44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16.bib
>> > ---line 1388 of file thesis+AF8-vers16.1.aux
>> > +AKA-:
>> >
>> +AFw-bibdata+AHs-44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16
>> > +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
>> > +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
>> > +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AH0-
>> > I'm skipping whatever remains of this command
>> > I found no database files---while reading file thesis+AF8-vers16.1.aux
>> > I found no style file---while reading file thesis+AF8-vers16.1.aux
>> >
>> I'm not sure what you updated, but it looks as if LaTeX simply isn't
>> finding the bst file.
>
>
> I ran tex check... Then checked log - bibtex
>
>
>> It also looks as if LyX is copying it to your
>> temporary directory, and THEN LaTeX isn't finding it. This may be due to
>> some changes in how local files are handled in 2.0.2.
>
>
> Suspected that too and put it in the same folder as the lyx doc, but also
> in tex folders I could think of and find documentation of, but didn't help,
> maybe need to put in yet another path, somebody knows where it's looking on
> mac/unix?
>
>
>> I'd suggest that
>> you put the bst file in some location where LaTeX will find it without
>> its having to be copied to the temporary directory. Where this is on
>> Mac, I'm afraid I do not know.
>>
>> After you get this error, you might also look in the temporary
>> directory. Is the referenced file there?
>
>
> Which tmp? Lyx?
> Thanks for answering so quickly...
> Jonas
>
>
>>
>> Richard
>>
>>
>
> --
> 
> http://www.ling.gu.se/~jonas
>
>


-- 
http://www.ling.gu.se/~jonas


Re: Embedded Fonts

2012-02-27 Thread Liviu Andronic
On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas  wrote:
> Dear all, I would like to use Lulu.com to print a book. Nevertheless, the
> ask for the fonts to be embedded in the PDF. Does Lyx do that by default?
>
Mos often, yes. To verify, open the PDF in acroread or evince and
access ctrl+d and alt+enter, respectively. In the Fonts tab you should
have information on whether they're embedded or not.

Liviu


Re: subeq numbers in ams aligned

2012-02-27 Thread Paul A . Rubin
Neal Becker  gmail.com> writes:

> 
> I have an ams aligned env, and I'd like each of the subeqs numbered.
> How can I do this?
> 
> 
Alt-M N works for me (toggles line numbering on and off).

Paul






Re: bibtex references not in compiled document...

2012-02-27 Thread Jonas Lindh
When I create a test file and use same bst or different (plainnat) I get
the same errors from bibtex... I am still presuming I have to put the bsts
yet some other place, but they are all over now... any input more on this?
Best regards
Jonas

2012/2/27 Jonas Lindh 

> According to http://tug.org/mactex/faq/#qm04 I should put my bst file
> under ~/Library/texmf/tex/ which I have already done (also tried several
> other places, so I can't understand why it can't be read?
> Jonas
>
>
> 2012/2/24 Jonas Lindh 
>
>>
>>
>> On Friday, February 24, 2012, Richard Heck wrote:
>>
>>> On 02/24/2012 08:46 AM, Jonas Lindh wrote:
>>> > Hi.
>>> > After updating etc I can't seem to get my references into the compiled
>>> > pdf using lyx 2.0.2 on macosx 10.7.3 and a bst that used to work great
>>> > from a professor at my dept. MacTeX 2011 is installed and updated
>>> > using Tex live...
>>> >
>>> > I am attaching the bst.+AKA-
>>> >
>>> > The output gives me (?) for refs and error for bibtex is :
>>> > This is 8-bit Big BibTeX version 0.99d
>>> > Implementation: +AKA-C for Unix
>>> > Release version: 3.71 (31 May 2005)
>>> >
>>> > Error: cannot open CS file: 88591lat.csf
>>> > The top-level auxiliary file: thesis+AF8-vers16.1.aux
>>> > I couldn't open style file
>>> >
>>> 45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib.bst
>>> > ---line 1387 of file thesis+AF8-vers16.1.aux
>>> > +AKA-:
>>> >
>>> +AFw-bibstyle+AHs-45+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-mybib
>>> > +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
>>> > +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
>>> > +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKAAfQ-
>>> > I'm skipping whatever remains of this command
>>> > I couldn't open database file
>>> >
>>> 44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16.bib
>>> > ---line 1388 of file thesis+AF8-vers16.1.aux
>>> > +AKA-:
>>> >
>>> +AFw-bibdata+AHs-44+AF8-Users+AF8-jonas+AF8-Dropbox+AF8-thesis+AF8-version16+AF8-thesis+AF8-vers16
>>> > +AKA-: +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
>>> > +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA-
>>> > +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AKA- +AH0-
>>> > I'm skipping whatever remains of this command
>>> > I found no database files---while reading file thesis+AF8-vers16.1.aux
>>> > I found no style file---while reading file thesis+AF8-vers16.1.aux
>>> >
>>> I'm not sure what you updated, but it looks as if LaTeX simply isn't
>>> finding the bst file.
>>
>>
>> I ran tex check... Then checked log - bibtex
>>
>>
>>> It also looks as if LyX is copying it to your
>>> temporary directory, and THEN LaTeX isn't finding it. This may be due to
>>> some changes in how local files are handled in 2.0.2.
>>
>>
>> Suspected that too and put it in the same folder as the lyx doc, but also
>> in tex folders I could think of and find documentation of, but didn't help,
>> maybe need to put in yet another path, somebody knows where it's looking on
>> mac/unix?
>>
>>
>>> I'd suggest that
>>> you put the bst file in some location where LaTeX will find it without
>>> its having to be copied to the temporary directory. Where this is on
>>> Mac, I'm afraid I do not know.
>>>
>>> After you get this error, you might also look in the temporary
>>> directory. Is the referenced file there?
>>
>>
>> Which tmp? Lyx?
>> Thanks for answering so quickly...
>> Jonas
>>
>>
>>>
>>> Richard
>>>
>>>
>>
>> --
>> 
>> http://www.ling.gu.se/~jonas
>>
>>
>
>
> --
> http://www.ling.gu.se/~jonas
>
>
>


-- 
http://www.ling.gu.se/~jonas


Re: Margins in the beginning of the chapter

2012-02-27 Thread Marcelo Acuña




 
I've written a documment, using the book Koma-Script class. I need to 
put some specific margins in my document, so I indicated the space in 
this option for that in my document. 
>
>But my problem is that when each chapter begins (also in the index), lyx puts 
>the name of this chapter with too muchtop margin, and not the same that I've 
>put and that is in the page where no chapter begins.
>
>I need to change this margin, in the index as well as in the beginning of the 
>each chapter in my document.
>
>If anyone can help me, I would really be grateful.
>
>By the way, I'm from Spain, is there any mailinglist similar to this in 
>Spanish?
>
>Thank you.
>
titlesec and titletoc packages allowto customize chapter, sections, index pages.
Marcelo

Re: Embedded Fonts

2012-02-27 Thread Richard Heck

On 02/27/2012 07:02 AM, Liviu Andronic wrote:

On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas  wrote:

Dear all, I would like to use Lulu.com to print a book. Nevertheless, the
ask for the fonts to be embedded in the PDF. Does Lyx do that by default?


Mos often, yes. To verify, open the PDF in acroread or evince and
access ctrl+d and alt+enter, respectively. In the Fonts tab you should
have information on whether they're embedded or not.
The pdffonts command line program, which is in the poppler-utils package 
under Fedora, will also give you this sort of info, e.g.:


/home/rgheck/ > pdffonts files/papers/*s.pdf
name type  emb sub uni object ID
 - --- --- --- -
VSOLGR+NimbusRomNo9L-MediType 1yes yes no  10  0
PSVDEG+NimbusRomNo9L-ReguType 1yes yes no  11  0
VLNPXI+rsfs10Type 1yes yes no  13  0
QSOCSX+NimbusRomNo9L-ReguItalType 1yes yes no  14  0
SOSTRQ+CMR10 Type 1yes yes no  15  0
QEOQKF+MSAM10Type 1yes yes no  51  0
QOGFHB+CMSY10Type 1yes yes no  52  0
PNZXQF+StandardSymL-Slant_167Type 1yes yes no  53  0
AFKEXM+CMMI10Type 1yes yes no  68  0
LKHCYG+StandardSymL  Type 1yes yes no  69  0
QGYCPK+NimbusRomNo9L-MediItalType 1yes yes no 163  0
TQOUUV+CMEX10Type 1yes yes no 398  0
JQJNGR+MSBM10Type 1yes yes no 586  0
ZLIDOM+SFTT1095  Type 1yes yes no 801  0

Richard



Re: Embedded Fonts

2012-02-27 Thread Les Denham
On Mon, 27 Feb 2012 13:02:51 +0100
Liviu Andronic  wrote:

> On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas 
> wrote:
> > Dear all, I would like to use Lulu.com to print a book.
> > Nevertheless, the ask for the fonts to be embedded in the PDF. Does
> > Lyx do that by default?
> >
> Mos often, yes. To verify, open the PDF in acroread or evince and
> access ctrl+d and alt+enter, respectively. In the Fonts tab you should
> have information on whether they're embedded or not.
> 
> Liviu

One potential source of non-embedded fonts is figures (usually in PDF
format) with non-embedded fonts. If the PDF reader tells you there are
fonts in the document which are not embedded, check any PDF figures the
same way. The solution for non-embedded fonts in PDF figures depends on
the source of the figures: if you didn't generate the figures yourself,
embedding the fonts could be tricky. The ultimate solution is to
convert the PDF figures to raster images (PNG is best) at high enough
resolution to meet your final requirements. But this can generate very
large PDF files.

Les


Re: References in floats come first?

2012-02-27 Thread Richard Heck

On 02/27/2012 09:36 AM, Amr Alaa wrote:

Would you be kind enough to share the solution with
us as I have the same problem.


The problem was that the label wasn't inside the caption, if I remember 
right. That is where it needs to be.


Richard



Re: need working example of copier to customize pdf output

2012-02-27 Thread Paul Johnson
On Sat, Feb 25, 2012 at 3:00 PM, Richard Heck  wrote:
> On 02/25/2012 01:43 PM, Paul Johnson wrote:

> Copiers are tied to formats, so you will need to create a new format first.
> Call it "PDF (beamer)", or something of the sort. When you do, you can
> assign a copier program. The copier will have to be responsible for the
> actual copying, as well as the conversion you want. Write a little shell
> script that takes two arguments, the input file and its output location. So
> something like:
>
> #!/bin/bash
> INFILE="$1";
> OUTFILE="$2";
> if [ -z "$OUTFILE" ]; then exit 1; fi
> pdfnup -nup 2x2 --suffix 2x2' --frame true --output "$OUTFILE" --batch "$1";
>
> Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
> executable, and then enter
>    pdfcopier.sh "$$i" "$$o"
> into the copier field for your new format.
>
> Richard
>

Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for "short name".  I was guessing something unique like "pdf5".

#
# FORMATS SECTION ##
#

\format "pdf5" "pdf" "PDF (BEAMER)" "" "evince" "auto"
"document,vector,menu=export"

#
# COPIERS SECTION ##
#

\copier pdf5 "pdfcopier.sh \"$$i\" \"$$o\""


That fails thusly:

$ lyx -e pdf5 hpcexample-1.lyx
Error: Couldn't export file

No information for exporting the format PDF (BEAMER).


PDF (BEAMER) does not show in the LyX export menu.


-- 
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Page numbers in book document class

2012-02-27 Thread UD

I am using the book(AMS) document class to write a chapter for a book.
Almost everything is fine, except for the first page of the 
Bibliography: its page number is at
the bottom of the page, rather than in the upper right corner, where all 
the other pages have their numbers.

Using \thispagestyle{headings} did not fix it.
Any ideas?
Thanks,

--
Ehud Kaplan,


Re: need working example of copier to customize pdf output

2012-02-27 Thread Richard Heck

On 02/27/2012 01:11 PM, Paul Johnson wrote:

On Sat, Feb 25, 2012 at 3:00 PM, Richard Heck  wrote:

On 02/25/2012 01:43 PM, Paul Johnson wrote:
Copiers are tied to formats, so you will need to create a new format first.
Call it "PDF (beamer)", or something of the sort. When you do, you can
assign a copier program. The copier will have to be responsible for the
actual copying, as well as the conversion you want. Write a little shell
script that takes two arguments, the input file and its output location. So
something like:

#!/bin/bash
INFILE="$1";
OUTFILE="$2";
if [ -z "$OUTFILE" ]; then exit 1; fi
pdfnup -nup 2x2 --suffix 2x2' --frame true --output "$OUTFILE" --batch "$1";

Save it somewhere in your path, say to /home/you/bin/pdfcopier.sh, make it
executable, and then enter
pdfcopier.sh "$$i" "$$o"
into the copier field for your new format.

Richard


Thanks, Richard.

I think I'm missing a converter line in preferences. Well, I still
don't understand how the ordinary work of pdflatex is supposed to get
done before my copier gets called.

I created the pdfcopier shell script you mention, it is in the path.

I run into some trouble configuring preferences in LyX. Can we just
talk about what is in preferences itself? The LyX preferences gui is
difficult for me.

What do I need for "short name".  I was guessing something unique like "pdf5".
Yes, that's fine. Now you just need to define a pdflatex --> pdf5 
converter. This can be done in the UI: Just copy over the information 
from the existing "LaTeX (pdflatex)" --> "PDF (pdflatex)" converter. 
Then LyX knows how to produce the pdf5 format, and it should invoke your 
copier when it is done.


Richard



Re: How to force tex2lyx to read unicode (from within Lyx)?

2012-02-27 Thread Guenter Milde
On 2012-02-19, Georg Baum wrote:
> Guenter Milde wrote:
>> On 2012-02-15, Georg Baum wrote:
>>> Jean-Marc Lasgouttes wrote:

>>> Unfortunately I know next to nothing about use_non_tex_fonts. After
>>> reading the code and user guide a bit I see that using xetex is only
>>> possible if use_non_tex_fonts is true, so your patch looks fine.

>> It is the other way round: using xetex or luatex is also possible without
>> use_non_tex_fonts (which actually means use_fontspec). OTOH, with
>> use_non_tex_fonts True, it one of xetex or luatex must be used.

> For luatex I agree, but for xetex I don't believe that you are right. Do you 
> have an example .lyx file, where use_non_tex_fonts is false, but xetex is 
> still used? If you are right, the patch introduces a regression.

Just take a "normal" file (with use_non_tex_fonts False) and select one
of

File>Export>LaTeX (XeTex)
File>Export>PDF (XeTeX)
View>Other Formats>PDF (XeTeX)

The exported LaTeX with my somewhat outdated LyX-svn is

  %% LyX 2.1.0svn created this file.  For more info, see http://www.lyx.org/.
  %% Do not edit unless you really know what you are doing.
  \documentclass[english]{article}
  \usepackage[T1]{fontenc}
  \usepackage{babel}
  \usepackage{xunicode}
  \begin{document}
  Test
  \end{document}

and compiles fine with XeTeX.

Günter



Re: Margins in the beginning of the chapter

2012-02-27 Thread Guenter Milde
On 2012-02-27, Marcelo Acuña wrote:

> I've written a documment, using the book Koma-Script class. I need to 
> put some specific margins in my document, so I indicated the space in 
> this option for that in my document. 

>>But my problem is that when each chapter begins (also in the index),
>>lyx puts the name of this chapter with too muchtop margin, and not the
>>same that I've put and that is in the page where no chapter begins.

>>I need to change this margin, in the index as well as in the beginning
>>of the each chapter in my document.

> titlesec and titletoc packages allowto customize chapter, sections,
> index pages.

However, with the KOMA classes, it is better to use the configuration
"handles" provided by KOMA-script. See the comprehensive guide scrguien.pdf
for your options. Preamble code should go to Document>Settings>LaTeX
preamble, class arguments to Document>Settings>Class ...

Günter



Re: How do I get the TeX Gyre fonts to show up as options?

2012-02-27 Thread Guenter Milde
On 2012-02-26, Eric Weir wrote:

> [-- Type: text/plain, Encoding: quoted-printable --]


> Planning to install the tex gyre fonts on my Mac, I inquired at tex on
> mac os x, I was informed that they are already installed, i.e., that
> they come with the tex live installations. So, how do I get them to
> show up as options under document > settings > fonts?

This depends: 

* With "use non tex fonts" (i.e. XeTeX or LuaTeX with the fontspec
  package), make sure that the fonts are known to the system.
 
* With 8-bit TeX engines (latex, pdflatex), vote for the bug to include
  support for more font packages (or collect money to pay someone to
  implement it) ...
  
  For the time beeing: leave the GUI font setting at [Default] and
  select the relevant font package in the user preamble.
  
Günter  
 



Re: points de suspensions

2012-02-27 Thread Guenter Milde
On 2012-02-25, Cyril Dupuis wrote:


> I try to edit the source code, but with no results

My tip for source code editing is:

* Change one occurence in LyX "by hand", save.

* Look at the *.lyx file in a text editor to see what the "before" and
  "after" versions look like in the source.

* Do an advanced search and replace in the text editor, Save (possibly under
  a different name or after checking in a version in my version control).

* (Re-)open in LyX and check if the replacement is correct.

[* write back to the original name]

Günter



Re: lyx latex-import problem

2012-02-27 Thread Guenter Milde
On 2012-02-19, Ingar Pareliussen wrote:
> Hi

> I have a couple of hundred abstracts from a web form that produces
> simple LaTeX files. I have cat'ed them into one big LaTeX file and
> imported it to LyX. This works for the most part, but I have problem
> with \sindex that needs a option i [index_name] which is not 
> recognized by LyX and therefor not put into ERT.

> I tried to get search replace it, but when LyX search within ERT it
> uses all memory and even if it seems to do the right thing it has been
> working on the file for a couple of hours... (file is only 300k and the
> box has 4G of ram, so something seems to be amiss)

> Is there some advice on how to do this more efficient? I could do it
> manually, but automated is better :)

Edit the lyx source in a text editor?
If the important part is inside ERT, this should be quite simple.

Günter



Re: How do I get the TeX Gyre fonts to show up as options?

2012-02-27 Thread Eric Weir

On Feb 27, 2012, at 4:25 PM, Guenter Milde wrote:

> On 2012-02-26, Eric Weir wrote:
> 
>> Planning to install the tex gyre fonts on my Mac, I inquired at tex on
>> mac os x, I was informed that they are already installed, i.e., that
>> they come with the tex live installations. So, how do I get them to
>> show up as options under document > settings > fonts?
> 
> This depends: 
> 
> * With "use non tex fonts" (i.e. XeTeX or LuaTeX with the fontspec
>  package), make sure that the fonts are known to the system.

Thanks, Guenter. A guy on the tex on mac osx listserv gave me a simple way to 
install the fonts and get them recognized on the system: start the mactex/tex 
live installer, deselect everything that's already selected, select the install 
tex gyre fonts option, complete the install. When that's done the fonts are 
installed in the user's system font folder, i.e., ~\library\fonts.


> * With 8-bit TeX engines (latex, pdflatex), vote for the bug to include
>  support for more font packages (or collect money to pay someone to
>  implement it) ...
> 
>  For the time beeing: leave the GUI font setting at [Default] and
>  select the relevant font package in the user preamble.

For reasons explained to me by Stefano---the main one being that the app in 
which I compose, Scrivener, exports unicode---I am going with xetex for 
compiling. Prior to that I tried a latex compile with the tex gyre specified in 
the preamble, but it didn't work. Got a message to the effect that "could not 
open 'file.dvi'".

Again, thanks for responding.

Sincerely,
--
Eric Weir
eew...@bellsouth.net
Decatur, GA  USA

"Whatever you can do, or dream you can, begin it. 
Boldness has genius, power and magic in it. " 

- Johann Wolfgang von Goethe



Re: xetex and theorem

2012-02-27 Thread d c
Torquil Macdonald Sørensen  gmail.com> writes:
> 
> On 11/01/12 15:41, Jürgen Spitzmüller wrote:

> > A crude workaround is to put
> > \providecommand\inputencoding[1]{}
> > in your preamble.
> 
> Thank you very much!
> 

I second that! I was ready to lose my mind! Phew



problem control version windows, lyx-2.0.3

2012-02-27 Thread Waluyo Adi Siswanto
Hi,

I just install LyX 2.0.3(downloaded from sourceforge mentioned by Uwe)
in Windows 7(64bit) and want to try control version.
When I open lyx document (*.lyx) in control version folder (using
TortoiseSVN). The file that I open does not show that it is under
control version.
File>Version control only register menu.
and this is the error message after I try to register.

===
14:14:54.297: Opening document
C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx...
14:14:58.555: Document
C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
opened.
14:15:04.327: The process failed to start. Either the invoked program
is missing, or you may have insufficient permissions to invoke the
program.
Running: ci -q -u -i -t-"(no initial description)"
"FEM-lab-instructor-manual-ver-trunk.lyx"
D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(249): Systemcall: 'ci -q
-u -i -t-"(no initial description)"
"FEM-lab-instructor-manual-ver-trunk.lyx"' did not start!
D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(250): error The process
failed to start. Either the invoked program is missing, or you may
have insufficient permissions to invoke the program.
Error: Revision control error.

Some problem occured while running the command:
'ci -q -u -i -t-"(no initial description)"
"FEM-lab-instructor-manual-ver-trunk.lyx"'.
14:15:09.752: Document
C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
reloaded.
14:15:12.658: (dialog-toggle progress)
14:16:17.039: (dialog-show aboutlyx)
14:19:54.218: Automatic save done.


Why it calls from this directory: D:/LyXSVN/LyX2.0x/src/support

This is not my folder, I don't have this folder.

PS: In Ubuntu lyx 2.0.0, I don't have problems. Have not tried the latest 2.0.3

regards
waluyo


Re: problem control version windows, lyx-2.0.3

2012-02-27 Thread Stephan Witt
Am 28.02.2012 um 07:33 schrieb Waluyo Adi Siswanto:

> Hi,
> 
> I just install LyX 2.0.3(downloaded from sourceforge mentioned by Uwe)
> in Windows 7(64bit) and want to try control version.
> When I open lyx document (*.lyx) in control version folder (using
> TortoiseSVN). The file that I open does not show that it is under
> control version.
> File>Version control only register menu.
> and this is the error message after I try to register.
> 
> ===
> 14:14:54.297: Opening document
> C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx...
> 14:14:58.555: Document
> C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
> opened.
> 14:15:04.327: The process failed to start. Either the invoked program
> is missing, or you may have insufficient permissions to invoke the
> program.
> Running: ci -q -u -i -t-"(no initial description)"
> "FEM-lab-instructor-manual-ver-trunk.lyx"
> D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(249): Systemcall: 'ci -q
> -u -i -t-"(no initial description)"
> "FEM-lab-instructor-manual-ver-trunk.lyx"' did not start!
> D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(250): error The process
> failed to start. Either the invoked program is missing, or you may
> have insufficient permissions to invoke the program.
> Error: Revision control error.
> 
> Some problem occured while running the command:
> 'ci -q -u -i -t-"(no initial description)"
> "FEM-lab-instructor-manual-ver-trunk.lyx"'.
> 14:15:09.752: Document
> C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
> reloaded.
> 14:15:12.658: (dialog-toggle progress)
> 14:16:17.039: (dialog-show aboutlyx)
> 14:19:54.218: Automatic save done.
> 
> 
> Why it calls from this directory: D:/LyXSVN/LyX2.0x/src/support
> 
> This is not my folder, I don't have this folder.
> 
> PS: In Ubuntu lyx 2.0.0, I don't have problems. Have not tried the latest 
> 2.0.3

There is a know problem with SVN: since svn client version 1.7.x the local 
checkouts
are not detected by LyX anymore. Perhaps your client TortoiseSVN is based on 
that version.
And beware, it may stop working after an upgrade of your Ubuntu SVN client 
package.

Stephan

Re: problem control version windows, lyx-2.0.3

2012-02-27 Thread Waluyo Adi Siswanto
On 28 February 2012 14:51, Stephan Witt  wrote:
> Am 28.02.2012 um 07:33 schrieb Waluyo Adi Siswanto:
>
>> Hi,
>>
>> I just install LyX 2.0.3(downloaded from sourceforge mentioned by Uwe)
>> in Windows 7(64bit) and want to try control version.
>> When I open lyx document (*.lyx) in control version folder (using
>> TortoiseSVN). The file that I open does not show that it is under
>> control version.
>> File>Version control only register menu.
>> and this is the error message after I try to register.
>>
>> ===
>> 14:14:54.297: Opening document
>> C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx...
>> 14:14:58.555: Document
>> C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
>> opened.
>> 14:15:04.327: The process failed to start. Either the invoked program
>> is missing, or you may have insufficient permissions to invoke the
>> program.
>> Running: ci -q -u -i -t-"(no initial description)"
>> "FEM-lab-instructor-manual-ver-trunk.lyx"
>> D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(249): Systemcall: 'ci -q
>> -u -i -t-"(no initial description)"
>> "FEM-lab-instructor-manual-ver-trunk.lyx"' did not start!
>> D:/LyXSVN/LyX2.0x/src/support/Systemcall.cpp(250): error The process
>> failed to start. Either the invoked program is missing, or you may
>> have insufficient permissions to invoke the program.
>> Error: Revision control error.
>> 
>> Some problem occured while running the command:
>> 'ci -q -u -i -t-"(no initial description)"
>> "FEM-lab-instructor-manual-ver-trunk.lyx"'.
>> 14:15:09.752: Document
>> C:\Users\Public\Documents\fem\lab-modules\trunk\FEM-lab-instructor-manual-ver-trunk.lyx
>> reloaded.
>> 14:15:12.658: (dialog-toggle progress)
>> 14:16:17.039: (dialog-show aboutlyx)
>> 14:19:54.218: Automatic save done.
>> 
>>
>> Why it calls from this directory: D:/LyXSVN/LyX2.0x/src/support
>>
>> This is not my folder, I don't have this folder.
>>
>> PS: In Ubuntu lyx 2.0.0, I don't have problems. Have not tried the latest 
>> 2.0.3
>
> There is a know problem with SVN: since svn client version 1.7.x the local 
> checkouts
> are not detected by LyX anymore. Perhaps your client TortoiseSVN is based on 
> that version.

Oghh,
my colleagues and I want to prepare documents collaboratively  using
LyX under version control.
We have installed TortoiseSVN 1.7.3 (Subversion 1.7.2). We have setup
the subversion server Ubuntu (11.04) using apache svn (subversion
1.6.12). Most of us (clients) are windows (7) users.

So.. how can we prepare a collaborative document in LyX in windows system.
Please.. Do you have any suggestion, the system that we have to use.
What is the software svn client and the server, that perfectly match
with LyX.

> And beware, it may stop working after an upgrade of your Ubuntu SVN client 
> package.
>

Yes I have a svn lyx project in googlecode. I can only use my ubuntu
machine 11.04 to check-in directly from lyx. I cannot do in another
ubuntu machine (11.10)

> Stephan

Regards,
waluyo


Re: Embedded Fonts

2012-02-27 Thread Anthony Campbell
On 27 Feb 2012, Liviu Andronic wrote:
> On Mon, Feb 27, 2012 at 12:35 PM, Julio Rojas  wrote:
> > Dear all, I would like to use Lulu.com to print a book. Nevertheless, the
> > ask for the fonts to be embedded in the PDF. Does Lyx do that by default?
> >
> Mos often, yes. To verify, open the PDF in acroread or evince and
> access ctrl+d and alt+enter, respectively. In the Fonts tab you should
> have information on whether they're embedded or not.
> 
> Liviu

Usually the fonts are embedded OK for Lulu. You can avoid this problem
by submitting your file as postscript (ps), which will work.

AC

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell