Re: XeTeX - Load packages before fontspec

2011-10-07 Thread Guenter Milde
On 2011-10-06, Spyros Stathopoulos wrote:
...

 In my opinion, however, it would be ideal if there was a way to
 configure when preamble statements are loaded (before or after lyx
 ones), but given the complexity that such a change would imply the
 current design is understandable.

You are right, there are several occasions, when inserting custom code
*before* the LyX-generated preamble would make power configuration easier.

However, in most cases this would be required in addition to the standard
(post-auto) LaTeX preamble, so a switch would not solve the problem.

Possible solutions include a second input field (maybe as fold-out or
with a draggable separator) inside the LaTeX Preamble tab:
  
  Custom LaTeX code before LyX-generated preamble:  
  +-+
  | \usepackage[put]{mathdesign}|
  | |
  +-+
  Custom LaTeX code after LyX-generated preamble:
  +-+
  | \input{mypreamble}  |
  | |
  | |
  +-+
  
However, there might, e.g. even be some code to put before \documentclass
and some code after \documentclass. For such a flexibility, the Docutils
latex writer uses an export-document template that can be replaced with a
custom one in a power-user command line option:

--template=file   Specify the template file. Default: default.tex.

with default.tex:

$head_prefix% generated by Docutils http://docutils.sourceforge.net/
\usepackage{fixltx2e} % LaTeX patches, \textsubscript
\usepackage{cmap} % fix search and cut-and-paste in Acrobat
$requirements
%%% Custom LaTeX preamble
$latex_preamble
%%% User specified packages and stylesheets
$stylesheet
%%% Fallback definitions for Docutils-specific commands
$fallbacks$pdfsetup
$titledata
%%% Body
\begin{document}
$body_pre_docinfo$docinfo$dedication$abstract$body
\end{document}


Günter



Re: [OT] Fonts in TeXLive/DVI/Evince

2011-10-07 Thread Guenter Milde
On 2011-10-06, Paul A  Rubin wrote:
 Hi all,

 Not sure where the culprit is, but if I use \neq in a math formula in
 LyX with TeXLive 2010 and Evince as the document viewer, it shows up as
 an equal sign.  Viewing in PDF is fine, 

Could you be more clear here: which TeX engine (XeTeX, pdfTeX, LuaTeX),
which output format (DVI, PS, PDF) and which viewer?

For me, Evince is the default PDF viewer, so I don't see why there should be
any difference.

 and a random sampling of other
 math symbols all worked with View  DVI.  Anybody seen this before?

I know that e.g. XeTeX silently drobs missing characters, as in some cases
\neq is composed out of two, this could be a missing \not char.

If the result depends on the viewer, there might be problems with the
character composition. Maybe this could be solved by using a font-package
providing a pre-composed character.

Günter




Re: Strange indentation with multiline footnotes

2011-10-07 Thread Guenter Milde
On 2011-10-06, Thomas Strausz wrote:
 Tao Cumplido taocumplido at gmx.net writes:

 I guess this might be more of a Latex question but maybe someone here
 can help me with that.

 So always when I insert a footnote that has more text than fits on one line,
 all subsequent lines are shifted somewhat to the right, which looks
 weird to me. So I'd rather have either the first line shifted as well,
 or all other lines not shifted.
 Is there a way not to do this manually for each footnote?

 Do you use a KOMA package for your writing? If yes, typing
 \deffootnote{1.5em}{1em}{\textsuperscript{\thefootnotemark}} should change
 that. That way, you eliminate the separate indention for the first line.

See scrguien.pdf or scrguide.pdf (German) for details.

If you don't use KOMA, several packages provide footnote customization.
You can find links to them and the documentation e.g. with a CTAN search:
http://ctan.org/search.html?search=footnotesearch_type=description

There is also a German tutorial:
http://www2.informatik.hu-berlin.de/~ahamann/studies/footnotes.pdf


Günter



Re: Headlines starting new pages

2011-10-07 Thread Guenter Milde
On 2011-10-06, Richard Heck wrote:
 On 10/06/2011 06:08 AM, Lastalda Felina wrote:
 I'm writing my diploma thesis in Lyx, using the class koma(book).

 Especially in the Materials  Methods part, I often have sections
 ans subsections that go:
 *headline
 *shortish paragraph
 *table

 In this cases, Lyx often puts the headline and paragraph on one page
 and the table on the next (sometimes it even only puts the headline on
 the old page).

 I would much rather have the headline start a new page in such cases.

 Is there a way I can define this behaviour in the latex header, or do
 I have to use manual pagebreaks whenever this irks me?

 This is due to how floats behave, and due to the very short section.
 LaTeX doesn't think of the table as part of the section. You'll have to
 do manual breaks (when all else is done!) to fix this.

Alternatively, put the content that should not be kept on one page in a
minipage box (with 100% textwidth). This way, there is no stale
pagebreak when adding/removing text.

Günter




Re: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
 I recently added some text and now there is one chapter where the index is
 not printed, which also blocs the printing of the index on the whole
 document. I use a smaller header file for testing the chapters separately
 and all give correct results except the chapter on 'Voorwerpendynamica'
 (Dynamics of objects). When testing it separately, all index entries are
 collected in the .idx file. Some space seems also reserved at the end of
 the document because there are 2 empty pages at the end, but even without
 the title 'Index'.

Can you strip it don to a minimal example file you can post here?

Jürgen



Re: biblatex showing neither bibliography nor cites in PDF

2011-10-07 Thread Jürgen Spitzmüller
Enrico Forestieri wrote:
 Yes, this also works and biber is also run after modifying the bib file.

OK, committed to trunk.

Jürgen


Re: Index not printed

2011-10-07 Thread Hubert Christiaen
On vrijdag 7 oktober 2011, Jürgen Spitzmüller wrote:
 Can you strip it don to a minimal example file you can post here?
I managed to get every chapter compiling correctly but still the whole document 
has no index. I have 
Lyx 1.6.9 for Linux and use Pdflatex for export. When compiling the whole 
document the Lyx window 
goes gray for some seconds while on the status line running index processor 
can be seen.

I got the offending chapter working by copying piece by piece and testing 
continuously. I deleted 
some index entries an moved some others in the offending section, but there was 
nothing that could 
be seen as wrong, not in the text and not in the source code. But even without 
the offending 
chatper, there is no index on the whole document. I thought of a problem with 
accented characters, 
but why does it work correctly on the chapters alone and not on the whole text? 
 The accented 
characters are in tex notation in the idx file.

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
 I managed to get every chapter compiling correctly but still the whole
 document has no index. I have  Lyx 1.6.9 for Linux and use Pdflatex for
 export. When compiling the whole document the Lyx window goes gray for some
 seconds while on the status line running index processor can be seen.
 
 I got the offending chapter working by copying piece by piece and testing
 continuously. I deleted  some index entries an moved some others in the
 offending section, but there was nothing that could be seen as wrong, not
 in the text and not in the source code. But even without the offending
 chatper, there is no index on the whole document. I thought of a problem
 with accented characters, but why does it work correctly on the chapters
 alone and not on the whole text?  The accented characters are in tex
 notation in the idx file.

It will be difficult to help you without a test case. If the text content is 
confidential, replace it with some dummy text.

Jürgen


Re: biblatex showing neither bibliography nor cites in PDF

2011-10-07 Thread Mukhtar Ullah
Jürgen Spitzmüller spitz at lyx.org writes:

 
 Mukhtar Ullah wrote:
 
  Unfortunately, adding  \typeout{File: \jobname.bcf} did not help in my
  case. Since it has helped others, I am now checking if the option
  natbib=true could be the reason.
 
 Mukhtar, could you set up a small test case (including a bib file)?
 
 Jürgen
 
 

I posted a separate entry with a small test case as you asked. I cannot attach
files to this web interface.

Mukhtar



Re: biblatex showing neither bibliography nor cites in PDF

2011-10-07 Thread Mukhtar Ullah
Wow, adding backend=biber solved the problem. I had in the previous 
case when I had added the option natbib=true but forgot to add it here 
after your suggestion.

Thanks Jürgen for being so helpful.

Best,

Mukhtar

On 07/10/2011 13:47, Jürgen Spitzmüller wrote:

Mukhtar Ullah wrote:

I posted a separate entry with a small test case as you asked. I cannot
attach files to this web interface.

You need to pass the option backend=biber to \usepackage{biblatex}. And of
course, you need to set biber as bibliography processor in either preferences
or document settings.

If I do this on your text file, the output is as expected.

See attached corrected test case.

Jürgen


--
Dr. Ing. Mukhtar Ullah,
Dept. of Systems Biology  Bioinformatics,
Institute of Computer Science
University of Rostock
18051 Rostock, Germany
http://www.sbi.uni-rostock.de/team/single/dr-mukhtar-ullah/



Version Control undo undo last check in

2011-10-07 Thread Thomas Hesse
Hello.

I've  inadvertently undo last check in (Version Control).
How can i undo this? 

Many thx
effeksys


Re: Index not printed

2011-10-07 Thread Hubert Christiaen
On vrijdag 7 oktober 2011, Jürgen Spitzmüller wrote:
 It will be difficult to help you without a test case.
As the problem at this moment occurs only with the whole document, it's hard to 
give a test case. 
The previous version with index was 4.4 MB

The question is: is there a possibility of seeing some error messages from 
xindy? can it be run 
separately to test on the idx file? Can there be some tracing of what is going 
on during index 
generation? Where are the parameters for xindy set?

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: Version Control undo undo last check in

2011-10-07 Thread Stephan Witt
Am 07.10.2011 um 14:45 schrieb Thomas Hesse:

 Hello.
 
 I've  inadvertently undo last check in (Version Control).
 How can i undo this? 

I presume you're using RCS... then you'll need a backup of 
the rcs-file to restore the version you've deleted.

Stephan


Classic Thesis Bibliography in child document

2011-10-07 Thread Sergey Churilov
Hi, 

I've noticed that if citing in child document, after compiling I get ?] symbol 
insted of proper reference.
If I compile from ClassicThesis.lyx everything is Ok and bibliography is listed 
in the end of the document es expected.
In order to compile only child document (e.g. single Chapter) with references 
do I need to insert Bibtex Bibliography... in each child document from 
InsertList/TOC or there is some other way around?

Thanks,
Sergey

Re: Specify an input path in the global preferences?

2011-10-07 Thread Liviu Andronic
On Fri, Oct 7, 2011 at 3:18 PM, Ben M. maresr12t...@gmail.com wrote:
 On Thu, Oct 6, 2011 at 10:57 PM, Liviu Andronic landronim...@gmail.com 
 wrote:
 Hae you tried Prefs  Paths  PATH?
 Liviu

 Yes I have, and it doesn't work.  According to the User's Guide,

  *PATH prefix*  This field contains a list of paths to external programs. 
 When LyX needs to use an external program, it looks in this list where to 
 find it on the system. The path list is automatically set up on Windows and 
 Mac systems when LyX is configured, so that you normally don't have to 
 modify it. On Unix / Linux systems, the path list will need to be set only 
 if there are external programs you wish to use that are not in your normal 
 system path ($PATH).

 So it seems that this corresponds to the $PATH environment variable,
 not the LaTeX input path.

 Any other ideas?

What Guenter suggested seems reasonable. And if you have access to
2.0, there is also a TEXINPUTS input box in Paths.

Regards
Liviu


 Thanks!
 -Ben




-- 
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: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
 As the problem at this moment occurs only with the whole document, it's
 hard to give a test case. The previous version with index was 4.4 MB

Try to cut down the document by bisecting. This procedure actually might 
reveal what's wrong.

 The question is: is there a possibility of seeing some error messages from
 xindy?

Run LyX from a terminal. Also, you can make xindy write a log file via the -t 
logfile option. The log file will then be in the temporary directory.

 can it be run  separately to test on the idx file? Can there be some
 tracing of what is going on during index generation? Where are the
 parameters for xindy set?

Tools  Preferences  Output  LaTeX.

HTH,
Jürgen


Re: Index not printed

2011-10-07 Thread Richard Heck

On 10/07/2011 09:12 AM, Hubert Christiaen wrote:

On vrijdag 7 oktober 2011, Jürgen Spitzmüller wrote:

It will be difficult to help you without a test case.

As the problem at this moment occurs only with the whole document, it's hard to 
give a test case.
The previous version with index was 4.4 MB

The question is: is there a possibility of seeing some error messages from 
xindy? can it be run separately to test on the idx file? Can there be some 
tracing of what is going on during index generation? Where are the parameters 
for xindy set?

Export the whole thing to LaTeX and then you can run whatever you wish 
manually. Or go to the temporary directory where LyX is doing the 
compilation and all the generated files will be there, which you can do 
with as you please. (If you want to see error messages, delete the 
\batchmode line from the master tex file) The temp dir will be 
something like

/tmp/lyx_tmpdir.M34567/lyx_tmpbuf2/

rh



Re: Problem Outputting Particular TIFF File

2011-10-07 Thread Paul A. Rubin


On 10/07/2011 01:07 AM, Jane Shevtsov wrote:



Also, and this may sound a bit weird, if you open a DOS window
(Start  Run 
cmd) in the directory where the EMS thingy lives, and run

 convert EMS flowchart.tiff new.tiff

does LyX like new.tiff?  (Note: I'm assuming that the ImageMagick
bin directory
is on your path; otherwise you'll need to change 'convert' to
'C:\Program
Files\WhereverTheHeckImageMagickIsInstalled\bin\convert'.)


This results in an error: Invalid parameter - new.tiff. I found 
ImageMagick, or at least the convert.exe file in my LyX folder, but 
should there be any other executables there?



Hadn't noticed that before, but I just looked on a Win 7 partition and, 
sure enough, there's an IM directory under LyX, with 19 files in it.  On 
that partition I also have a full installation of IM (43 files in the 
main directory, plus three subdirectories), and that's the one that LyX 
uses (because it's on the system command path).  I'd suggest that you 
download and install the current version of IM, put the main directory 
(containing convert.exe) on your system command path (needs to be in 
front of any Windows system directories, since Windows also has a 
program named 'convert'), maybe reconfigure LyX again just to be safe, 
and see if the mystery TIFF file converts properly.


Incidentally, the invalid parameter message might mean that the MS 
version of convert was run (unless you ran it in the IM folder under 
LyX, or put in the full path).  It's hard to picture the LyX version not 
accepting an output file name.


Paul



Re: Specify an input path in the global preferences?

2011-10-07 Thread Ben M.
 What Guenter suggested seems reasonable. And if you have access to
 2.0, there is also a TEXINPUTS input box in Paths.

Nice, that's even more motivation for me to upgrade.

I just implemented Guenter's suggestion, and it's working well for me.
 Thanks guys!

-Ben


Generating paragraphs in loops

2011-10-07 Thread Shane Siers
Dear users and masters--

I am using Sweave with R-2.13.0, MikTeX 2.9, and LyX 2.0.

I would like to be able to use loops in either R or LaTeX to generate
paragraphs with a standard text format, but values from R data inserted as
appropriate.  The number of paragraphs would change as the number of
research sites changes.  Here is an example of text I had R sink to a .txt
file with cat statements:

*At ASOU1, 20 snakes (7M/13F) were tracked for a total of 138 nights and 109
successful trials.  Snake sizes ranged from 820 to 1130 mm snout-vent length
(mean=954 ±73), with body condition indexes from 0.82 to 1.45 (mean=1.14
±0.15).  90% of transmitters were implanted by voluntary ingestion.*
**
*At ASOU2, 30 snakes (13M/11F/6Unk) were tracked for a total of 216 nights
and 159 successful trials.  Snake sizes ranged from 581 to 1117 mm
snout-vent length (mean=914 ±161), with body condition indexes from 0.93 to
1.42 (mean=1.1 ±0.12).  43% of transmitters were implanted by voluntary
ingestion.
*
Is there a way I can recreate this sort of looping behavior in LyX/LaTeX, or
a way for R to do it and sink the results to the desired location in LyX?
I'd also like to be able to use similar procedures for populating tables.
-- 
Shane


Re: Generating paragraphs in loops

2011-10-07 Thread Yihui Xie
Use the chunk option results=tex, then use cat() in your R code to
output the paragraphs like

echo=FALSE, results=tex=
for(i in 1:10) {
  cat('now the value of i is ', i, '\n\n')
}
@

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Fri, Oct 7, 2011 at 10:32 AM, Shane Siers shanesi...@gmail.com wrote:
 Dear users and masters--

 I am using Sweave with R-2.13.0, MikTeX 2.9, and LyX 2.0.

 I would like to be able to use loops in either R or LaTeX to generate
 paragraphs with a standard text format, but values from R data inserted as
 appropriate.  The number of paragraphs would change as the number of
 research sites changes.  Here is an example of text I had R sink to a .txt
 file with cat statements:

 At ASOU1, 20 snakes (7M/13F) were tracked for a total of 138 nights and 109
 successful trials.  Snake sizes ranged from 820 to 1130 mm snout-vent length
 (mean=954 ±73), with body condition indexes from 0.82 to 1.45 (mean=1.14
 ±0.15).  90% of transmitters were implanted by voluntary ingestion.

 At ASOU2, 30 snakes (13M/11F/6Unk) were tracked for a total of 216 nights
 and 159 successful trials.  Snake sizes ranged from 581 to 1117 mm
 snout-vent length (mean=914 ±161), with body condition indexes from 0.93 to
 1.42 (mean=1.1 ±0.12).  43% of transmitters were implanted by voluntary
 ingestion.
 Is there a way I can recreate this sort of looping behavior in LyX/LaTeX, or
 a way for R to do it and sink the results to the desired location in LyX?
 I'd also like to be able to use similar procedures for populating tables.
 --
 Shane




line break in math mode

2011-10-07 Thread Mike Bonhoff
Hi all,

I'm wondering how to make a line break in the discharged math mode. I tried
it with Strg+Enter but then there where 3 new boxes in the new line. It
looked like the eqnarray-environment-boxes and it didn't work fine:

It should look similar to this:
f(x)={z\in Z:there is an y\in Y and functions g,h\in F
  such that g(x)=y and h(y)=z}

But at the moment (with Strg+Enter) it looks like
   f(x)={z\in Z:there is an y\in Y and functions g,h\in
F
such that g(x)=y and h(y)=z}

Does anybody know how to do this.

Thanks!


Re: Index not printed

2011-10-07 Thread Hubert Christiaen
I ran the texindy command on the .idx file in a command window.
 texindy -o Klassieke_Mechanica.ind  -v -t Klassiek_mechanica.ilg 
Klassieke_Mechanica.idx


The result was this error, after msgs of loading modules:

Reading raw-index /tmp/rSPDa36K9q...
ERROR: CHAR: index 0 must be smaller than the length of the string

The raw-index contained all index entries in the form:

(indexentry :tkey ((eenheden) (eenhedenstelsels)) :attr hyperpage :locref 
13)
(indexentry :tkey ((eenheden) (coherente eenheden)) :attr hyperpage 
:locref 14)
(indexentry :tkey ((MKS-stelsel)) :attr hyperpage :locref 14)
...

The logfile was only:
;; This logfile was generated automatically by `xindy'
;; at 07.10.2011  17:54:50
;; Indexstyle: /tmp/IVwOG5UFdl, Rawindex: /tmp/rSPDa36K9q, Output: 
Klassieke_Mechanica.ind

ERROR: CHAR: index 0 must be smaller than the length of the string

Normally it should proceed with:
 Building indexentry-tree:
 Hierdepth of index is :TREE

 sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
...

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: line break in math mode

2011-10-07 Thread Liviu Andronic
On Fri, Oct 7, 2011 at 5:50 PM, Mike Bonhoff lyx@googlemail.com wrote:
 Hi all,

 I'm wondering how to make a line break in the discharged math mode. I tried
 it with Strg+Enter but then there where 3 new boxes in the new line. It
 looked like the eqnarray-environment-boxes and it didn't work fine:

 It should look similar to this:
 f(x)={z\in Z:there is an y\in Y and functions g,h\in F
   such that g(x)=y and h(y)=z}

 But at the moment (with Strg+Enter) it looks like
    f(x)={z\in Z:there is an y\in Y and functions g,h\in
 F
 such that g(x)=y and h(y)=z}

 Does anybody know how to do this.

Please check Help  Math  Section 18.

Liviu


 Thanks!





-- 
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: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
 I ran the texindy command on the .idx file in a command window.
  texindy -o Klassieke_Mechanica.ind  -v -t Klassiek_mechanica.ilg
 Klassieke_Mechanica.idx
 
 
 The result was this error, after msgs of loading modules:
 
 Reading raw-index /tmp/rSPDa36K9q...
 ERROR: CHAR: index 0 must be smaller than the length of the string

I can't make much sense of that. Can you post the *.idx file at least?

Jürgen


Re: Classic Thesis Bibliography in child document

2011-10-07 Thread Julien Rioux

On 07/10/2011 3:24 PM, Sergey Churilov wrote:

Hi,

I've noticed that if citing in child document, after compiling I get ?] symbol 
insted of proper reference.
If I compile from ClassicThesis.lyx everything is Ok and bibliography is listed 
in the end of the document es expected.
In order to compile only child document (e.g. single Chapter) with references do I 
need to insert Bibtex Bibliography... in each child document from 
InsertList/TOC or there is some other way around?

Thanks,
Sergey


You can do it at least two ways.

I think LyX 2.0 has a new feature which does what you want. Compile the 
master doc with onclude only selected children (see the Document  
Settings  Child docs).


Alternatively, put the BibTeX-generated bibliography in a branch in the 
child document, activate this branch in the child doc, and deactivate it 
in the master doc. This is the way most of us were doing this in LyX 1.6.


--
Julien



Re: Classic Thesis Bibliography in child document

2011-10-07 Thread Gian Maria Niccolò Benucci
Julien,

II got the same problem. I tried to include the Bibtex Bib in each single
Chapter but the references appear only if I compile the Chapter alone and
never when I try with the ClassicThesis.lyx
What do you exactly mean form branch?
Onward we go...

Thanks,

G.


On 7 October 2011 18:59, Julien Rioux jri...@physics.utoronto.ca wrote:

 On 07/10/2011 3:24 PM, Sergey Churilov wrote:

 Hi,

 I've noticed that if citing in child document, after compiling I get ?]
 symbol insted of proper reference.
 If I compile from ClassicThesis.lyx everything is Ok and bibliography is
 listed in the end of the document es expected.
 In order to compile only child document (e.g. single Chapter) with
 references do I need to insert Bibtex Bibliography... in each child document
 from InsertList/TOC or there is some other way around?

 Thanks,
 Sergey


 You can do it at least two ways.

 I think LyX 2.0 has a new feature which does what you want. Compile the
 master doc with onclude only selected children (see the Document 
 Settings  Child docs).

 Alternatively, put the BibTeX-generated bibliography in a branch in the
 child document, activate this branch in the child doc, and deactivate it in
 the master doc. This is the way most of us were doing this in LyX 1.6.

 --
 Julien




XeTeX fontspec error: font not found

2011-10-07 Thread Tao Cumplido
I wanted to use the linux libertine fonts with xetex but am getting
this error.

I am on Linux Mint 11 and installed the latest texlive manually
(previously I had an error with xetex and german as document language
which I resolved this way).
Then I tried to install the libertine otf fonts according to this
manual: http://community.linuxmint.com/tutorial/view/29

Lyx also recognizes the fonts but when I try to view the pdf I get
the error that font is not found. Also tried reconfiguring Lyx.

Regards,
Tao




Re: Index not printed

2011-10-07 Thread Hubert Christiaen
On friday 7 October 2011, Jürgen Spitzmüller wrote:
 I can't make much sense of that. Can you post the *.idx file at least?
The .idx file is of no use because it has been transformed to the raw-index 
file with entries in the 
form:
(indexentry :tkey ((eenheden) (eenhedenstelsels)) :attr hyperpage :locref 
13)
(indexentry :tkey ((eenheden) (coherente eenheden)) :attr hyperpage 
:locref 14)
(indexentry :tkey ((MKS-stelsel)) :attr hyperpage :locref 14)

This is the result of tex2xindy run on the .idx file

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: Classic Thesis Bibliography in child document

2011-10-07 Thread Julien Rioux

On 07/10/2011 7:34 PM, Gian Maria Niccolò Benucci wrote:

Julien,

II got the same problem. I tried to include the Bibtex Bib in each single
Chapter but the references appear only if I compile the Chapter alone and
never when I try with the ClassicThesis.lyx
What do you exactly mean form branch?
Onward we go...

Thanks,

G.



Please read section 6.8 entitled Branches of the User's Guide, reachable 
from the Help menu.


Cheers,
Julien



Re: Problem Outputting Particular TIFF File

2011-10-07 Thread Jane Shevtsov
On Fri, Oct 7, 2011 at 6:51 AM, Paul A. Rubin ru...@msu.edu wrote:

  I'd suggest that you download and install the current version of IM, put
 the main directory (containing convert.exe) on your system command path
 (needs to be in front of any Windows system directories, since Windows also
 has a program named 'convert'), maybe reconfigure LyX again just to be safe,
 and see if the mystery TIFF file converts properly.



I did as you suggested (installed IM version 6.7.2-10-Q16-windows-dll, which
is the one they recommend if you're not sure which to get, made sure it was
on the path, and reconfigured LyX) and am still getting the same error
message. How do you specify a converter?

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: reverse search sumatra xetex...maybe I am almost there...

2011-10-07 Thread Enrico Forestieri
dc writes:

 I have synchronize with output set to: \synctex=-1

Maybe miktex doesn't understand that? Please, try modifying the converter
from xelatex $$i to xelatex --synctex=-1 $$i and see whether forward
search works after that.

-- 
Enrico



Re: XeTeX - Load packages before fontspec

2011-10-07 Thread Guenter Milde
On 2011-10-06, Spyros Stathopoulos wrote:
...

 In my opinion, however, it would be ideal if there was a way to
 configure when preamble statements are loaded (before or after lyx
 ones), but given the complexity that such a change would imply the
 current design is understandable.

You are right, there are several occasions, when inserting custom code
*before* the LyX-generated preamble would make power configuration easier.

However, in most cases this would be required in addition to the standard
(post-auto) LaTeX preamble, so a switch would not solve the problem.

Possible solutions include a second input field (maybe as fold-out or
with a draggable separator) inside the LaTeX Preamble tab:
  
  Custom LaTeX code before LyX-generated preamble:  
  +-+
  | \usepackage[put]{mathdesign}|
  | |
  +-+
  Custom LaTeX code after LyX-generated preamble:
  +-+
  | \input{mypreamble}  |
  | |
  | |
  +-+
  
However, there might, e.g. even be some code to put before \documentclass
and some code after \documentclass. For such a flexibility, the Docutils
latex writer uses an export-document template that can be replaced with a
custom one in a power-user command line option:

--template=file   Specify the template file. Default: default.tex.

with default.tex:

$head_prefix% generated by Docutils http://docutils.sourceforge.net/
\usepackage{fixltx2e} % LaTeX patches, \textsubscript
\usepackage{cmap} % fix search and cut-and-paste in Acrobat
$requirements
%%% Custom LaTeX preamble
$latex_preamble
%%% User specified packages and stylesheets
$stylesheet
%%% Fallback definitions for Docutils-specific commands
$fallbacks$pdfsetup
$titledata
%%% Body
\begin{document}
$body_pre_docinfo$docinfo$dedication$abstract$body
\end{document}


Günter



Re: [OT] Fonts in TeXLive/DVI/Evince

2011-10-07 Thread Guenter Milde
On 2011-10-06, Paul A  Rubin wrote:
 Hi all,

 Not sure where the culprit is, but if I use \neq in a math formula in
 LyX with TeXLive 2010 and Evince as the document viewer, it shows up as
 an equal sign.  Viewing in PDF is fine, 

Could you be more clear here: which TeX engine (XeTeX, pdfTeX, LuaTeX),
which output format (DVI, PS, PDF) and which viewer?

For me, Evince is the default PDF viewer, so I don't see why there should be
any difference.

 and a random sampling of other
 math symbols all worked with View  DVI.  Anybody seen this before?

I know that e.g. XeTeX silently drobs missing characters, as in some cases
\neq is composed out of two, this could be a missing \not char.

If the result depends on the viewer, there might be problems with the
character composition. Maybe this could be solved by using a font-package
providing a pre-composed character.

Günter




Re: Strange indentation with multiline footnotes

2011-10-07 Thread Guenter Milde
On 2011-10-06, Thomas Strausz wrote:
 Tao Cumplido taocumplido at gmx.net writes:

 I guess this might be more of a Latex question but maybe someone here
 can help me with that.

 So always when I insert a footnote that has more text than fits on one line,
 all subsequent lines are shifted somewhat to the right, which looks
 weird to me. So I'd rather have either the first line shifted as well,
 or all other lines not shifted.
 Is there a way not to do this manually for each footnote?

 Do you use a KOMA package for your writing? If yes, typing
 \deffootnote{1.5em}{1em}{\textsuperscript{\thefootnotemark}} should change
 that. That way, you eliminate the separate indention for the first line.

See scrguien.pdf or scrguide.pdf (German) for details.

If you don't use KOMA, several packages provide footnote customization.
You can find links to them and the documentation e.g. with a CTAN search:
http://ctan.org/search.html?search=footnotesearch_type=description

There is also a German tutorial:
http://www2.informatik.hu-berlin.de/~ahamann/studies/footnotes.pdf


Günter



Re: Headlines starting new pages

2011-10-07 Thread Guenter Milde
On 2011-10-06, Richard Heck wrote:
 On 10/06/2011 06:08 AM, Lastalda Felina wrote:
 I'm writing my diploma thesis in Lyx, using the class koma(book).

 Especially in the Materials  Methods part, I often have sections
 ans subsections that go:
 *headline
 *shortish paragraph
 *table

 In this cases, Lyx often puts the headline and paragraph on one page
 and the table on the next (sometimes it even only puts the headline on
 the old page).

 I would much rather have the headline start a new page in such cases.

 Is there a way I can define this behaviour in the latex header, or do
 I have to use manual pagebreaks whenever this irks me?

 This is due to how floats behave, and due to the very short section.
 LaTeX doesn't think of the table as part of the section. You'll have to
 do manual breaks (when all else is done!) to fix this.

Alternatively, put the content that should not be kept on one page in a
minipage box (with 100% textwidth). This way, there is no stale
pagebreak when adding/removing text.

Günter




Re: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
 I recently added some text and now there is one chapter where the index is
 not printed, which also blocs the printing of the index on the whole
 document. I use a smaller header file for testing the chapters separately
 and all give correct results except the chapter on 'Voorwerpendynamica'
 (Dynamics of objects). When testing it separately, all index entries are
 collected in the .idx file. Some space seems also reserved at the end of
 the document because there are 2 empty pages at the end, but even without
 the title 'Index'.

Can you strip it don to a minimal example file you can post here?

Jürgen



Re: biblatex showing neither bibliography nor cites in PDF

2011-10-07 Thread Jürgen Spitzmüller
Enrico Forestieri wrote:
 Yes, this also works and biber is also run after modifying the bib file.

OK, committed to trunk.

Jürgen


Re: Index not printed

2011-10-07 Thread Hubert Christiaen
On vrijdag 7 oktober 2011, Jürgen Spitzmüller wrote:
 Can you strip it don to a minimal example file you can post here?
I managed to get every chapter compiling correctly but still the whole document 
has no index. I have 
Lyx 1.6.9 for Linux and use Pdflatex for export. When compiling the whole 
document the Lyx window 
goes gray for some seconds while on the status line running index processor 
can be seen.

I got the offending chapter working by copying piece by piece and testing 
continuously. I deleted 
some index entries an moved some others in the offending section, but there was 
nothing that could 
be seen as wrong, not in the text and not in the source code. But even without 
the offending 
chatper, there is no index on the whole document. I thought of a problem with 
accented characters, 
but why does it work correctly on the chapters alone and not on the whole text? 
 The accented 
characters are in tex notation in the idx file.

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
 I managed to get every chapter compiling correctly but still the whole
 document has no index. I have  Lyx 1.6.9 for Linux and use Pdflatex for
 export. When compiling the whole document the Lyx window goes gray for some
 seconds while on the status line running index processor can be seen.
 
 I got the offending chapter working by copying piece by piece and testing
 continuously. I deleted  some index entries an moved some others in the
 offending section, but there was nothing that could be seen as wrong, not
 in the text and not in the source code. But even without the offending
 chatper, there is no index on the whole document. I thought of a problem
 with accented characters, but why does it work correctly on the chapters
 alone and not on the whole text?  The accented characters are in tex
 notation in the idx file.

It will be difficult to help you without a test case. If the text content is 
confidential, replace it with some dummy text.

Jürgen


Re: biblatex showing neither bibliography nor cites in PDF

2011-10-07 Thread Mukhtar Ullah
Jürgen Spitzmüller spitz at lyx.org writes:

 
 Mukhtar Ullah wrote:
 
  Unfortunately, adding  \typeout{File: \jobname.bcf} did not help in my
  case. Since it has helped others, I am now checking if the option
  natbib=true could be the reason.
 
 Mukhtar, could you set up a small test case (including a bib file)?
 
 Jürgen
 
 

I posted a separate entry with a small test case as you asked. I cannot attach
files to this web interface.

Mukhtar



Re: biblatex showing neither bibliography nor cites in PDF

2011-10-07 Thread Mukhtar Ullah
Wow, adding backend=biber solved the problem. I had in the previous 
case when I had added the option natbib=true but forgot to add it here 
after your suggestion.

Thanks Jürgen for being so helpful.

Best,

Mukhtar

On 07/10/2011 13:47, Jürgen Spitzmüller wrote:

Mukhtar Ullah wrote:

I posted a separate entry with a small test case as you asked. I cannot
attach files to this web interface.

You need to pass the option backend=biber to \usepackage{biblatex}. And of
course, you need to set biber as bibliography processor in either preferences
or document settings.

If I do this on your text file, the output is as expected.

See attached corrected test case.

Jürgen


--
Dr. Ing. Mukhtar Ullah,
Dept. of Systems Biology  Bioinformatics,
Institute of Computer Science
University of Rostock
18051 Rostock, Germany
http://www.sbi.uni-rostock.de/team/single/dr-mukhtar-ullah/



Version Control undo undo last check in

2011-10-07 Thread Thomas Hesse
Hello.

I've  inadvertently undo last check in (Version Control).
How can i undo this? 

Many thx
effeksys


Re: Index not printed

2011-10-07 Thread Hubert Christiaen
On vrijdag 7 oktober 2011, Jürgen Spitzmüller wrote:
 It will be difficult to help you without a test case.
As the problem at this moment occurs only with the whole document, it's hard to 
give a test case. 
The previous version with index was 4.4 MB

The question is: is there a possibility of seeing some error messages from 
xindy? can it be run 
separately to test on the idx file? Can there be some tracing of what is going 
on during index 
generation? Where are the parameters for xindy set?

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: Version Control undo undo last check in

2011-10-07 Thread Stephan Witt
Am 07.10.2011 um 14:45 schrieb Thomas Hesse:

 Hello.
 
 I've  inadvertently undo last check in (Version Control).
 How can i undo this? 

I presume you're using RCS... then you'll need a backup of 
the rcs-file to restore the version you've deleted.

Stephan


Classic Thesis Bibliography in child document

2011-10-07 Thread Sergey Churilov
Hi, 

I've noticed that if citing in child document, after compiling I get ?] symbol 
insted of proper reference.
If I compile from ClassicThesis.lyx everything is Ok and bibliography is listed 
in the end of the document es expected.
In order to compile only child document (e.g. single Chapter) with references 
do I need to insert Bibtex Bibliography... in each child document from 
InsertList/TOC or there is some other way around?

Thanks,
Sergey

Re: Specify an input path in the global preferences?

2011-10-07 Thread Liviu Andronic
On Fri, Oct 7, 2011 at 3:18 PM, Ben M. maresr12t...@gmail.com wrote:
 On Thu, Oct 6, 2011 at 10:57 PM, Liviu Andronic landronim...@gmail.com 
 wrote:
 Hae you tried Prefs  Paths  PATH?
 Liviu

 Yes I have, and it doesn't work.  According to the User's Guide,

  *PATH prefix*  This field contains a list of paths to external programs. 
 When LyX needs to use an external program, it looks in this list where to 
 find it on the system. The path list is automatically set up on Windows and 
 Mac systems when LyX is configured, so that you normally don't have to 
 modify it. On Unix / Linux systems, the path list will need to be set only 
 if there are external programs you wish to use that are not in your normal 
 system path ($PATH).

 So it seems that this corresponds to the $PATH environment variable,
 not the LaTeX input path.

 Any other ideas?

What Guenter suggested seems reasonable. And if you have access to
2.0, there is also a TEXINPUTS input box in Paths.

Regards
Liviu


 Thanks!
 -Ben




-- 
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: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
 As the problem at this moment occurs only with the whole document, it's
 hard to give a test case. The previous version with index was 4.4 MB

Try to cut down the document by bisecting. This procedure actually might 
reveal what's wrong.

 The question is: is there a possibility of seeing some error messages from
 xindy?

Run LyX from a terminal. Also, you can make xindy write a log file via the -t 
logfile option. The log file will then be in the temporary directory.

 can it be run  separately to test on the idx file? Can there be some
 tracing of what is going on during index generation? Where are the
 parameters for xindy set?

Tools  Preferences  Output  LaTeX.

HTH,
Jürgen


Re: Index not printed

2011-10-07 Thread Richard Heck

On 10/07/2011 09:12 AM, Hubert Christiaen wrote:

On vrijdag 7 oktober 2011, Jürgen Spitzmüller wrote:

It will be difficult to help you without a test case.

As the problem at this moment occurs only with the whole document, it's hard to 
give a test case.
The previous version with index was 4.4 MB

The question is: is there a possibility of seeing some error messages from 
xindy? can it be run separately to test on the idx file? Can there be some 
tracing of what is going on during index generation? Where are the parameters 
for xindy set?

Export the whole thing to LaTeX and then you can run whatever you wish 
manually. Or go to the temporary directory where LyX is doing the 
compilation and all the generated files will be there, which you can do 
with as you please. (If you want to see error messages, delete the 
\batchmode line from the master tex file) The temp dir will be 
something like

/tmp/lyx_tmpdir.M34567/lyx_tmpbuf2/

rh



Re: Problem Outputting Particular TIFF File

2011-10-07 Thread Paul A. Rubin


On 10/07/2011 01:07 AM, Jane Shevtsov wrote:



Also, and this may sound a bit weird, if you open a DOS window
(Start  Run 
cmd) in the directory where the EMS thingy lives, and run

 convert EMS flowchart.tiff new.tiff

does LyX like new.tiff?  (Note: I'm assuming that the ImageMagick
bin directory
is on your path; otherwise you'll need to change 'convert' to
'C:\Program
Files\WhereverTheHeckImageMagickIsInstalled\bin\convert'.)


This results in an error: Invalid parameter - new.tiff. I found 
ImageMagick, or at least the convert.exe file in my LyX folder, but 
should there be any other executables there?



Hadn't noticed that before, but I just looked on a Win 7 partition and, 
sure enough, there's an IM directory under LyX, with 19 files in it.  On 
that partition I also have a full installation of IM (43 files in the 
main directory, plus three subdirectories), and that's the one that LyX 
uses (because it's on the system command path).  I'd suggest that you 
download and install the current version of IM, put the main directory 
(containing convert.exe) on your system command path (needs to be in 
front of any Windows system directories, since Windows also has a 
program named 'convert'), maybe reconfigure LyX again just to be safe, 
and see if the mystery TIFF file converts properly.


Incidentally, the invalid parameter message might mean that the MS 
version of convert was run (unless you ran it in the IM folder under 
LyX, or put in the full path).  It's hard to picture the LyX version not 
accepting an output file name.


Paul



Re: Specify an input path in the global preferences?

2011-10-07 Thread Ben M.
 What Guenter suggested seems reasonable. And if you have access to
 2.0, there is also a TEXINPUTS input box in Paths.

Nice, that's even more motivation for me to upgrade.

I just implemented Guenter's suggestion, and it's working well for me.
 Thanks guys!

-Ben


Generating paragraphs in loops

2011-10-07 Thread Shane Siers
Dear users and masters--

I am using Sweave with R-2.13.0, MikTeX 2.9, and LyX 2.0.

I would like to be able to use loops in either R or LaTeX to generate
paragraphs with a standard text format, but values from R data inserted as
appropriate.  The number of paragraphs would change as the number of
research sites changes.  Here is an example of text I had R sink to a .txt
file with cat statements:

*At ASOU1, 20 snakes (7M/13F) were tracked for a total of 138 nights and 109
successful trials.  Snake sizes ranged from 820 to 1130 mm snout-vent length
(mean=954 ±73), with body condition indexes from 0.82 to 1.45 (mean=1.14
±0.15).  90% of transmitters were implanted by voluntary ingestion.*
**
*At ASOU2, 30 snakes (13M/11F/6Unk) were tracked for a total of 216 nights
and 159 successful trials.  Snake sizes ranged from 581 to 1117 mm
snout-vent length (mean=914 ±161), with body condition indexes from 0.93 to
1.42 (mean=1.1 ±0.12).  43% of transmitters were implanted by voluntary
ingestion.
*
Is there a way I can recreate this sort of looping behavior in LyX/LaTeX, or
a way for R to do it and sink the results to the desired location in LyX?
I'd also like to be able to use similar procedures for populating tables.
-- 
Shane


Re: Generating paragraphs in loops

2011-10-07 Thread Yihui Xie
Use the chunk option results=tex, then use cat() in your R code to
output the paragraphs like

echo=FALSE, results=tex=
for(i in 1:10) {
  cat('now the value of i is ', i, '\n\n')
}
@

Regards,
Yihui
--
Yihui Xie xieyi...@gmail.com
Phone: 515-294-2465 Web: http://yihui.name
Department of Statistics, Iowa State University
2215 Snedecor Hall, Ames, IA



On Fri, Oct 7, 2011 at 10:32 AM, Shane Siers shanesi...@gmail.com wrote:
 Dear users and masters--

 I am using Sweave with R-2.13.0, MikTeX 2.9, and LyX 2.0.

 I would like to be able to use loops in either R or LaTeX to generate
 paragraphs with a standard text format, but values from R data inserted as
 appropriate.  The number of paragraphs would change as the number of
 research sites changes.  Here is an example of text I had R sink to a .txt
 file with cat statements:

 At ASOU1, 20 snakes (7M/13F) were tracked for a total of 138 nights and 109
 successful trials.  Snake sizes ranged from 820 to 1130 mm snout-vent length
 (mean=954 ±73), with body condition indexes from 0.82 to 1.45 (mean=1.14
 ±0.15).  90% of transmitters were implanted by voluntary ingestion.

 At ASOU2, 30 snakes (13M/11F/6Unk) were tracked for a total of 216 nights
 and 159 successful trials.  Snake sizes ranged from 581 to 1117 mm
 snout-vent length (mean=914 ±161), with body condition indexes from 0.93 to
 1.42 (mean=1.1 ±0.12).  43% of transmitters were implanted by voluntary
 ingestion.
 Is there a way I can recreate this sort of looping behavior in LyX/LaTeX, or
 a way for R to do it and sink the results to the desired location in LyX?
 I'd also like to be able to use similar procedures for populating tables.
 --
 Shane




line break in math mode

2011-10-07 Thread Mike Bonhoff
Hi all,

I'm wondering how to make a line break in the discharged math mode. I tried
it with Strg+Enter but then there where 3 new boxes in the new line. It
looked like the eqnarray-environment-boxes and it didn't work fine:

It should look similar to this:
f(x)={z\in Z:there is an y\in Y and functions g,h\in F
  such that g(x)=y and h(y)=z}

But at the moment (with Strg+Enter) it looks like
   f(x)={z\in Z:there is an y\in Y and functions g,h\in
F
such that g(x)=y and h(y)=z}

Does anybody know how to do this.

Thanks!


Re: Index not printed

2011-10-07 Thread Hubert Christiaen
I ran the texindy command on the .idx file in a command window.
 texindy -o Klassieke_Mechanica.ind  -v -t Klassiek_mechanica.ilg 
Klassieke_Mechanica.idx


The result was this error, after msgs of loading modules:

Reading raw-index /tmp/rSPDa36K9q...
ERROR: CHAR: index 0 must be smaller than the length of the string

The raw-index contained all index entries in the form:

(indexentry :tkey ((eenheden) (eenhedenstelsels)) :attr hyperpage :locref 
13)
(indexentry :tkey ((eenheden) (coherente eenheden)) :attr hyperpage 
:locref 14)
(indexentry :tkey ((MKS-stelsel)) :attr hyperpage :locref 14)
...

The logfile was only:
;; This logfile was generated automatically by `xindy'
;; at 07.10.2011  17:54:50
;; Indexstyle: /tmp/IVwOG5UFdl, Rawindex: /tmp/rSPDa36K9q, Output: 
Klassieke_Mechanica.ind

ERROR: CHAR: index 0 must be smaller than the length of the string

Normally it should proceed with:
 Building indexentry-tree:
 Hierdepth of index is :TREE

 sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
...

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: line break in math mode

2011-10-07 Thread Liviu Andronic
On Fri, Oct 7, 2011 at 5:50 PM, Mike Bonhoff lyx@googlemail.com wrote:
 Hi all,

 I'm wondering how to make a line break in the discharged math mode. I tried
 it with Strg+Enter but then there where 3 new boxes in the new line. It
 looked like the eqnarray-environment-boxes and it didn't work fine:

 It should look similar to this:
 f(x)={z\in Z:there is an y\in Y and functions g,h\in F
   such that g(x)=y and h(y)=z}

 But at the moment (with Strg+Enter) it looks like
    f(x)={z\in Z:there is an y\in Y and functions g,h\in
 F
 such that g(x)=y and h(y)=z}

 Does anybody know how to do this.

Please check Help  Math  Section 18.

Liviu


 Thanks!





-- 
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: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
 I ran the texindy command on the .idx file in a command window.
  texindy -o Klassieke_Mechanica.ind  -v -t Klassiek_mechanica.ilg
 Klassieke_Mechanica.idx
 
 
 The result was this error, after msgs of loading modules:
 
 Reading raw-index /tmp/rSPDa36K9q...
 ERROR: CHAR: index 0 must be smaller than the length of the string

I can't make much sense of that. Can you post the *.idx file at least?

Jürgen


Re: Classic Thesis Bibliography in child document

2011-10-07 Thread Julien Rioux

On 07/10/2011 3:24 PM, Sergey Churilov wrote:

Hi,

I've noticed that if citing in child document, after compiling I get ?] symbol 
insted of proper reference.
If I compile from ClassicThesis.lyx everything is Ok and bibliography is listed 
in the end of the document es expected.
In order to compile only child document (e.g. single Chapter) with references do I 
need to insert Bibtex Bibliography... in each child document from 
InsertList/TOC or there is some other way around?

Thanks,
Sergey


You can do it at least two ways.

I think LyX 2.0 has a new feature which does what you want. Compile the 
master doc with onclude only selected children (see the Document  
Settings  Child docs).


Alternatively, put the BibTeX-generated bibliography in a branch in the 
child document, activate this branch in the child doc, and deactivate it 
in the master doc. This is the way most of us were doing this in LyX 1.6.


--
Julien



Re: Classic Thesis Bibliography in child document

2011-10-07 Thread Gian Maria Niccolò Benucci
Julien,

II got the same problem. I tried to include the Bibtex Bib in each single
Chapter but the references appear only if I compile the Chapter alone and
never when I try with the ClassicThesis.lyx
What do you exactly mean form branch?
Onward we go...

Thanks,

G.


On 7 October 2011 18:59, Julien Rioux jri...@physics.utoronto.ca wrote:

 On 07/10/2011 3:24 PM, Sergey Churilov wrote:

 Hi,

 I've noticed that if citing in child document, after compiling I get ?]
 symbol insted of proper reference.
 If I compile from ClassicThesis.lyx everything is Ok and bibliography is
 listed in the end of the document es expected.
 In order to compile only child document (e.g. single Chapter) with
 references do I need to insert Bibtex Bibliography... in each child document
 from InsertList/TOC or there is some other way around?

 Thanks,
 Sergey


 You can do it at least two ways.

 I think LyX 2.0 has a new feature which does what you want. Compile the
 master doc with onclude only selected children (see the Document 
 Settings  Child docs).

 Alternatively, put the BibTeX-generated bibliography in a branch in the
 child document, activate this branch in the child doc, and deactivate it in
 the master doc. This is the way most of us were doing this in LyX 1.6.

 --
 Julien




XeTeX fontspec error: font not found

2011-10-07 Thread Tao Cumplido
I wanted to use the linux libertine fonts with xetex but am getting
this error.

I am on Linux Mint 11 and installed the latest texlive manually
(previously I had an error with xetex and german as document language
which I resolved this way).
Then I tried to install the libertine otf fonts according to this
manual: http://community.linuxmint.com/tutorial/view/29

Lyx also recognizes the fonts but when I try to view the pdf I get
the error that font is not found. Also tried reconfiguring Lyx.

Regards,
Tao




Re: Index not printed

2011-10-07 Thread Hubert Christiaen
On friday 7 October 2011, Jürgen Spitzmüller wrote:
 I can't make much sense of that. Can you post the *.idx file at least?
The .idx file is of no use because it has been transformed to the raw-index 
file with entries in the 
form:
(indexentry :tkey ((eenheden) (eenhedenstelsels)) :attr hyperpage :locref 
13)
(indexentry :tkey ((eenheden) (coherente eenheden)) :attr hyperpage 
:locref 14)
(indexentry :tkey ((MKS-stelsel)) :attr hyperpage :locref 14)

This is the result of tex2xindy run on the .idx file

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: Classic Thesis Bibliography in child document

2011-10-07 Thread Julien Rioux

On 07/10/2011 7:34 PM, Gian Maria Niccolò Benucci wrote:

Julien,

II got the same problem. I tried to include the Bibtex Bib in each single
Chapter but the references appear only if I compile the Chapter alone and
never when I try with the ClassicThesis.lyx
What do you exactly mean form branch?
Onward we go...

Thanks,

G.



Please read section 6.8 entitled Branches of the User's Guide, reachable 
from the Help menu.


Cheers,
Julien



Re: Problem Outputting Particular TIFF File

2011-10-07 Thread Jane Shevtsov
On Fri, Oct 7, 2011 at 6:51 AM, Paul A. Rubin ru...@msu.edu wrote:

  I'd suggest that you download and install the current version of IM, put
 the main directory (containing convert.exe) on your system command path
 (needs to be in front of any Windows system directories, since Windows also
 has a program named 'convert'), maybe reconfigure LyX again just to be safe,
 and see if the mystery TIFF file converts properly.



I did as you suggested (installed IM version 6.7.2-10-Q16-windows-dll, which
is the one they recommend if you're not sure which to get, made sure it was
on the path, and reconfigured LyX) and am still getting the same error
message. How do you specify a converter?

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born. --Francois Fenelon, theologian and writer (1651-1715)


Re: reverse search sumatra xetex...maybe I am almost there...

2011-10-07 Thread Enrico Forestieri
dc writes:

 I have synchronize with output set to: \synctex=-1

Maybe miktex doesn't understand that? Please, try modifying the converter
from xelatex $$i to xelatex --synctex=-1 $$i and see whether forward
search works after that.

-- 
Enrico



Re: XeTeX - Load packages before fontspec

2011-10-07 Thread Guenter Milde
On 2011-10-06, Spyros Stathopoulos wrote:
...

> In my opinion, however, it would be ideal if there was a way to
> configure when preamble statements are loaded (before or after lyx
> ones), but given the complexity that such a change would imply the
> current design is understandable.

You are right, there are several occasions, when inserting custom code
*before* the LyX-generated preamble would make "power configuration" easier.

However, in most cases this would be required in addition to the standard
(post-auto) LaTeX preamble, so a switch would not solve the problem.

Possible solutions include a second input field (maybe as fold-out or
with a draggable separator) inside the "LaTeX Preamble" tab:
  
  Custom LaTeX code before LyX-generated preamble:  
  +-+
  | \usepackage[put]{mathdesign}|
  | |
  +-+
  Custom LaTeX code after LyX-generated preamble:
  +-+
  | \input{mypreamble}  |
  | |
  | |
  +-+
  
However, there might, e.g. even be some code to put before \documentclass
and some code after \documentclass. For such a flexibility, the Docutils
latex writer uses an export-document template that can be replaced with a
custom one in a power-user command line option:

--template=   Specify the template file. Default: "default.tex".

with default.tex:

$head_prefix% generated by Docutils 
\usepackage{fixltx2e} % LaTeX patches, \textsubscript
\usepackage{cmap} % fix search and cut-and-paste in Acrobat
$requirements
%%% Custom LaTeX preamble
$latex_preamble
%%% User specified packages and stylesheets
$stylesheet
%%% Fallback definitions for Docutils-specific commands
$fallbacks$pdfsetup
$titledata
%%% Body
\begin{document}
$body_pre_docinfo$docinfo$dedication$abstract$body
\end{document}


Günter



Re: [OT] Fonts in TeXLive/DVI/Evince

2011-10-07 Thread Guenter Milde
On 2011-10-06, Paul A  Rubin wrote:
> Hi all,

> Not sure where the culprit is, but if I use \neq in a math formula in
> LyX with TeXLive 2010 and Evince as the document viewer, it shows up as
> an equal sign.  Viewing in PDF is fine, 

Could you be more clear here: which TeX engine (XeTeX, pdfTeX, LuaTeX),
which output format (DVI, PS, PDF) and which viewer?

For me, Evince is the default PDF viewer, so I don't see why there should be
any difference.

> and a random sampling of other
> math symbols all worked with View > DVI.  Anybody seen this before?

I know that e.g. XeTeX silently drobs missing characters, as in some cases
\neq is composed out of two, this could be a missing \not char.

If the result depends on the viewer, there might be problems with the
character composition. Maybe this could be solved by using a font-package
providing a pre-composed character.

Günter




Re: Strange indentation with multiline footnotes

2011-10-07 Thread Guenter Milde
On 2011-10-06, Thomas Strausz wrote:
> Tao Cumplido  gmx.net> writes:

>> I guess this might be more of a Latex question but maybe someone here
>> can help me with that.

>> So always when I insert a footnote that has more text than fits on one line,
>> all subsequent lines are shifted somewhat to the right, which looks
>> weird to me. So I'd rather have either the first line shifted as well,
>> or all other lines not shifted.
>> Is there a way not to do this manually for each footnote?

> Do you use a KOMA package for your writing? If yes, typing
> "\deffootnote{1.5em}{1em}{\textsuperscript{\thefootnotemark}}" should change
> that. That way, you eliminate the separate indention for the first line.

See scrguien.pdf or scrguide.pdf (German) for details.

If you don't use KOMA, several packages provide footnote customization.
You can find links to them and the documentation e.g. with a CTAN search:
http://ctan.org/search.html?search=footnote_type=description

There is also a German tutorial:
http://www2.informatik.hu-berlin.de/~ahamann/studies/footnotes.pdf


Günter



Re: Headlines starting new pages

2011-10-07 Thread Guenter Milde
On 2011-10-06, Richard Heck wrote:
> On 10/06/2011 06:08 AM, Lastalda Felina wrote:
>> I'm writing my diploma thesis in Lyx, using the class koma(book).

>> Especially in the "Materials & Methods" part, I often have sections
>> ans subsections that go:
>> *headline
>> *shortish paragraph
>> *table

>> In this cases, Lyx often puts the headline and paragraph on one page
>> and the table on the next (sometimes it even only puts the headline on
>> the old page).

>> I would much rather have the headline start a new page in such cases.

>> Is there a way I can define this behaviour in the latex header, or do
>> I have to use manual pagebreaks whenever this irks me?

> This is due to how floats behave, and due to the very short section.
> LaTeX doesn't think of the table as part of the section. You'll have to
> do manual breaks (when all else is done!) to fix this.

Alternatively, put the content that should not be kept on one page in a
minipage box (with 100% textwidth). This way, there is no "stale"
pagebreak when adding/removing text.

Günter




Re: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
> I recently added some text and now there is one chapter where the index is
> not printed, which also blocs the printing of the index on the whole
> document. I use a smaller header file for testing the chapters separately
> and all give correct results except the chapter on 'Voorwerpendynamica'
> (Dynamics of objects). When testing it separately, all index entries are
> collected in the .idx file. Some space seems also reserved at the end of
> the document because there are 2 empty pages at the end, but even without
> the title 'Index'.

Can you strip it don to a minimal example file you can post here?

Jürgen



Re: biblatex showing neither bibliography nor cites in PDF

2011-10-07 Thread Jürgen Spitzmüller
Enrico Forestieri wrote:
> Yes, this also works and biber is also run after modifying the bib file.

OK, committed to trunk.

Jürgen


Re: Index not printed

2011-10-07 Thread Hubert Christiaen
On vrijdag 7 oktober 2011, Jürgen Spitzmüller wrote:
> Can you strip it don to a minimal example file you can post here?
I managed to get every chapter compiling correctly but still the whole document 
has no index. I have 
Lyx 1.6.9 for Linux and use Pdflatex for export. When compiling the whole 
document the Lyx window 
goes gray for some seconds while on the status line "running index processor" 
can be seen.

I got the offending chapter working by copying piece by piece and testing 
continuously. I deleted 
some index entries an moved some others in the offending section, but there was 
nothing that could 
be seen as wrong, not in the text and not in the source code. But even without 
the offending 
chatper, there is no index on the whole document. I thought of a problem with 
accented characters, 
but why does it work correctly on the chapters alone and not on the whole text? 
 The accented 
characters are in tex notation in the idx file.

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
> I managed to get every chapter compiling correctly but still the whole
> document has no index. I have  Lyx 1.6.9 for Linux and use Pdflatex for
> export. When compiling the whole document the Lyx window goes gray for some
> seconds while on the status line "running index processor" can be seen.
> 
> I got the offending chapter working by copying piece by piece and testing
> continuously. I deleted  some index entries an moved some others in the
> offending section, but there was nothing that could be seen as wrong, not
> in the text and not in the source code. But even without the offending
> chatper, there is no index on the whole document. I thought of a problem
> with accented characters, but why does it work correctly on the chapters
> alone and not on the whole text?  The accented characters are in tex
> notation in the idx file.

It will be difficult to help you without a test case. If the text content is 
confidential, replace it with some dummy text.

Jürgen


Re: biblatex showing neither bibliography nor cites in PDF

2011-10-07 Thread Mukhtar Ullah
Jürgen Spitzmüller  lyx.org> writes:

> 
> Mukhtar Ullah wrote:
> 
> > Unfortunately, adding  \typeout{File: \jobname.bcf} did not help in my
> > case. Since it has helped others, I am now checking if the option
> > "natbib=true" could be the reason.
> 
> Mukhtar, could you set up a small test case (including a bib file)?
> 
> Jürgen
> 
> 

I posted a separate entry with a small test case as you asked. I cannot attach
files to this web interface.

Mukhtar



Re: biblatex showing neither bibliography nor cites in PDF

2011-10-07 Thread Mukhtar Ullah
Wow, adding "backend=biber" solved the problem. I had in the previous 
case when I had added the option "natbib=true" but forgot to add it here 
after your suggestion.

Thanks Jürgen for being so helpful.

Best,

Mukhtar

On 07/10/2011 13:47, Jürgen Spitzmüller wrote:

Mukhtar Ullah wrote:

I posted a separate entry with a small test case as you asked. I cannot
attach files to this web interface.

You need to pass the option "backend=biber" to \usepackage{biblatex}. And of
course, you need to set biber as bibliography processor in either preferences
or document settings.

If I do this on your text file, the output is as expected.

See attached corrected test case.

Jürgen


--
Dr. Ing. Mukhtar Ullah,
Dept. of Systems Biology&  Bioinformatics,
Institute of Computer Science
University of Rostock
18051 Rostock, Germany
http://www.sbi.uni-rostock.de/team/single/dr-mukhtar-ullah/



Version Control undo undo last check in

2011-10-07 Thread Thomas Hesse
Hello.

I've  inadvertently undo last check in (Version Control).
How can i undo this? 

Many thx
effeksys


Re: Index not printed

2011-10-07 Thread Hubert Christiaen
On vrijdag 7 oktober 2011, Jürgen Spitzmüller wrote:
> It will be difficult to help you without a test case.
As the problem at this moment occurs only with the whole document, it's hard to 
give a test case. 
The previous version with index was 4.4 MB

The question is: is there a possibility of seeing some error messages from 
xindy? can it be run 
separately to test on the idx file? Can there be some tracing of what is going 
on during index 
generation? Where are the parameters for xindy set?

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: Version Control undo undo last check in

2011-10-07 Thread Stephan Witt
Am 07.10.2011 um 14:45 schrieb Thomas Hesse:

> Hello.
> 
> I've  inadvertently undo last check in (Version Control).
> How can i undo this? 

I presume you're using RCS... then you'll need a backup of 
the rcs-file to restore the version you've deleted.

Stephan


Classic Thesis Bibliography in child document

2011-10-07 Thread Sergey Churilov
Hi, 

I've noticed that if citing in child document, after compiling I get ?] symbol 
insted of proper reference.
If I compile from ClassicThesis.lyx everything is Ok and bibliography is listed 
in the end of the document es expected.
In order to compile only child document (e.g. single Chapter) with references 
do I need to insert Bibtex Bibliography... in each child document from 
Insert>List/TOC or there is some other way around?

Thanks,
Sergey

Re: Specify an input path in the global preferences?

2011-10-07 Thread Liviu Andronic
On Fri, Oct 7, 2011 at 3:18 PM, Ben M.  wrote:
> On Thu, Oct 6, 2011 at 10:57 PM, Liviu Andronic  
> wrote:
>> Hae you tried Prefs > Paths > PATH?
>> Liviu
>
> Yes I have, and it doesn't work.  According to the User's Guide,
>
>>  *PATH prefix*  This field contains a list of paths to external programs. 
>> When LyX needs to use an external program, it looks in this list where to 
>> find it on the system. The path list is automatically set up on Windows and 
>> Mac systems when LyX is configured, so that you normally don't have to 
>> modify it. On Unix / Linux systems, the path list will need to be set only 
>> if there are external programs you wish to use that are not in your normal 
>> system path ($PATH).
>
> So it seems that this corresponds to the $PATH environment variable,
> not the LaTeX input path.
>
> Any other ideas?
>
What Guenter suggested seems reasonable. And if you have access to
2.0, there is also a TEXINPUTS input box in Paths.

Regards
Liviu


> Thanks!
> -Ben
>



-- 
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: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
> As the problem at this moment occurs only with the whole document, it's
> hard to give a test case. The previous version with index was 4.4 MB

Try to cut down the document by bisecting. This procedure actually might 
reveal what's wrong.

> The question is: is there a possibility of seeing some error messages from
> xindy?

Run LyX from a terminal. Also, you can make xindy write a log file via the -t 
 option. The log file will then be in the temporary directory.

> can it be run  separately to test on the idx file? Can there be some
> tracing of what is going on during index generation? Where are the
> parameters for xindy set?

Tools > Preferences > Output > LaTeX.

HTH,
Jürgen


Re: Index not printed

2011-10-07 Thread Richard Heck

On 10/07/2011 09:12 AM, Hubert Christiaen wrote:

On vrijdag 7 oktober 2011, Jürgen Spitzmüller wrote:

It will be difficult to help you without a test case.

As the problem at this moment occurs only with the whole document, it's hard to 
give a test case.
The previous version with index was 4.4 MB

The question is: is there a possibility of seeing some error messages from 
xindy? can it be run separately to test on the idx file? Can there be some 
tracing of what is going on during index generation? Where are the parameters 
for xindy set?

Export the whole thing to LaTeX and then you can run whatever you wish 
manually. Or go to the temporary directory where LyX is doing the 
compilation and all the generated files will be there, which you can do 
with as you please. (If you want to see error messages, delete the 
"\batchmode" line from the master tex file) The temp dir will be 
something like

/tmp/lyx_tmpdir.M34567/lyx_tmpbuf2/

rh



Re: Problem Outputting Particular TIFF File

2011-10-07 Thread Paul A. Rubin


On 10/07/2011 01:07 AM, Jane Shevtsov wrote:



Also, and this may sound a bit weird, if you open a DOS window
(Start > Run >
cmd) in the directory where the EMS thingy lives, and run

 convert "EMS flowchart.tiff" new.tiff

does LyX like new.tiff?  (Note: I'm assuming that the ImageMagick
bin directory
is on your path; otherwise you'll need to change 'convert' to
'C:\Program
Files\WhereverTheHeckImageMagickIsInstalled\bin\convert'.)


This results in an error: "Invalid parameter - new.tiff". I found 
ImageMagick, or at least the convert.exe file in my LyX folder, but 
should there be any other executables there?



Hadn't noticed that before, but I just looked on a Win 7 partition and, 
sure enough, there's an IM directory under LyX, with 19 files in it.  On 
that partition I also have a full installation of IM (43 files in the 
main directory, plus three subdirectories), and that's the one that LyX 
uses (because it's on the system command path).  I'd suggest that you 
download and install the current version of IM, put the main directory 
(containing convert.exe) on your system command path (needs to be in 
front of any Windows system directories, since Windows also has a 
program named 'convert'), maybe reconfigure LyX again just to be safe, 
and see if the mystery TIFF file converts properly.


Incidentally, the "invalid parameter" message might mean that the MS 
version of convert was run (unless you ran it in the IM folder under 
LyX, or put in the full path).  It's hard to picture the LyX version not 
accepting an output file name.


Paul



Re: Specify an input path in the global preferences?

2011-10-07 Thread Ben M.
> What Guenter suggested seems reasonable. And if you have access to
> 2.0, there is also a TEXINPUTS input box in Paths.

Nice, that's even more motivation for me to upgrade.

I just implemented Guenter's suggestion, and it's working well for me.
 Thanks guys!

-Ben


Generating paragraphs in loops

2011-10-07 Thread Shane Siers
Dear users and masters--

I am using Sweave with R-2.13.0, MikTeX 2.9, and LyX 2.0.

I would like to be able to use loops in either R or LaTeX to generate
paragraphs with a standard text format, but values from R data inserted as
appropriate.  The number of paragraphs would change as the number of
research sites changes.  Here is an example of text I had R sink to a .txt
file with cat statements:

*At ASOU1, 20 snakes (7M/13F) were tracked for a total of 138 nights and 109
successful trials.  Snake sizes ranged from 820 to 1130 mm snout-vent length
(mean=954 ±73), with body condition indexes from 0.82 to 1.45 (mean=1.14
±0.15).  90% of transmitters were implanted by voluntary ingestion.*
**
*At ASOU2, 30 snakes (13M/11F/6Unk) were tracked for a total of 216 nights
and 159 successful trials.  Snake sizes ranged from 581 to 1117 mm
snout-vent length (mean=914 ±161), with body condition indexes from 0.93 to
1.42 (mean=1.1 ±0.12).  43% of transmitters were implanted by voluntary
ingestion.
*
Is there a way I can recreate this sort of looping behavior in LyX/LaTeX, or
a way for R to do it and "sink" the results to the desired location in LyX?
I'd also like to be able to use similar procedures for populating tables.
-- 
Shane


Re: Generating paragraphs in loops

2011-10-07 Thread Yihui Xie
Use the chunk option results=tex, then use cat() in your R code to
output the paragraphs like


line break in math mode

2011-10-07 Thread Mike Bonhoff
Hi all,

I'm wondering how to make a line break in the discharged math mode. I tried
it with Strg+Enter but then there where 3 new boxes in the new line. It
looked like the eqnarray-environment-boxes and it didn't work fine:

It should look similar to this:
f(x)={z\in Z:there is an y\in Y and functions g,h\in F
  such that g(x)=y and h(y)=z}

But at the moment (with Strg+Enter) it looks like
   f(x)={z\in Z:there is an y\in Y and functions g,h\in
F
such that g(x)=y and h(y)=z}

Does anybody know how to do this.

Thanks!


Re: Index not printed

2011-10-07 Thread Hubert Christiaen
I ran the texindy command on the .idx file in a command window.
 texindy -o Klassieke_Mechanica.ind  -v -t Klassiek_mechanica.ilg 
Klassieke_Mechanica.idx


The result was this error, after msgs of loading modules:

Reading raw-index "/tmp/rSPDa36K9q"...
ERROR: CHAR: index 0 must be smaller than the length of the string

The raw-index contained all index entries in the form:

(indexentry :tkey (("eenheden") ("eenhedenstelsels")) :attr "hyperpage" :locref 
"13")
(indexentry :tkey (("eenheden") ("coherente eenheden")) :attr "hyperpage" 
:locref "14")
(indexentry :tkey (("MKS-stelsel")) :attr "hyperpage" :locref "14")
...

The logfile was only:
;; This logfile was generated automatically by `xindy'
;; at 07.10.2011  17:54:50
;; Indexstyle: "/tmp/IVwOG5UFdl", Rawindex: "/tmp/rSPDa36K9q", Output: 
"Klassieke_Mechanica.ind"

ERROR: CHAR: index 0 must be smaller than the length of the string

Normally it should proceed with:
 Building indexentry-tree:
 Hierdepth of index is :TREE

 sort-indexentries: (FORWARD BACKWARD FORWARD FORWARD)
...

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: line break in math mode

2011-10-07 Thread Liviu Andronic
On Fri, Oct 7, 2011 at 5:50 PM, Mike Bonhoff  wrote:
> Hi all,
>
> I'm wondering how to make a line break in the discharged math mode. I tried
> it with Strg+Enter but then there where 3 new boxes in the new line. It
> looked like the eqnarray-environment-boxes and it didn't work fine:
>
> It should look similar to this:
> f(x)={z\in Z:there is an y\in Y and functions g,h\in F
>   such that g(x)=y and h(y)=z}
>
> But at the moment (with Strg+Enter) it looks like
>    f(x)={z\in Z:there is an y\in Y and functions g,h\in
> F
> such that g(x)=y and h(y)=z}
>
> Does anybody know how to do this.
>
Please check Help > Math > Section 18.

Liviu


> Thanks!
>
>



-- 
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: Index not printed

2011-10-07 Thread Jürgen Spitzmüller
Hubert Christiaen wrote:
> I ran the texindy command on the .idx file in a command window.
>  texindy -o Klassieke_Mechanica.ind  -v -t Klassiek_mechanica.ilg
> Klassieke_Mechanica.idx
> 
> 
> The result was this error, after msgs of loading modules:
> 
> Reading raw-index "/tmp/rSPDa36K9q"...
> ERROR: CHAR: index 0 must be smaller than the length of the string

I can't make much sense of that. Can you post the *.idx file at least?

Jürgen


Re: Classic Thesis Bibliography in child document

2011-10-07 Thread Julien Rioux

On 07/10/2011 3:24 PM, Sergey Churilov wrote:

Hi,

I've noticed that if citing in child document, after compiling I get ?] symbol 
insted of proper reference.
If I compile from ClassicThesis.lyx everything is Ok and bibliography is listed 
in the end of the document es expected.
In order to compile only child document (e.g. single Chapter) with references do I 
need to insert Bibtex Bibliography... in each child document from 
Insert>List/TOC or there is some other way around?

Thanks,
Sergey


You can do it at least two ways.

I think LyX 2.0 has a new feature which does what you want. Compile the 
master doc with "onclude only selected children" (see the Document > 
Settings > Child docs).


Alternatively, put the BibTeX-generated bibliography in a branch in the 
child document, activate this branch in the child doc, and deactivate it 
in the master doc. This is the way most of us were doing this in LyX 1.6.


--
Julien



Re: Classic Thesis Bibliography in child document

2011-10-07 Thread Gian Maria Niccolò Benucci
Julien,

II got the same problem. I tried to include the Bibtex Bib in each single
Chapter but the references appear only if I compile the Chapter alone and
never when I try with the ClassicThesis.lyx
What do you exactly mean form "branch"?
Onward we go...

Thanks,

G.


On 7 October 2011 18:59, Julien Rioux  wrote:

> On 07/10/2011 3:24 PM, Sergey Churilov wrote:
>
>> Hi,
>>
>> I've noticed that if citing in child document, after compiling I get ?]
>> symbol insted of proper reference.
>> If I compile from ClassicThesis.lyx everything is Ok and bibliography is
>> listed in the end of the document es expected.
>> In order to compile only child document (e.g. single Chapter) with
>> references do I need to insert Bibtex Bibliography... in each child document
>> from Insert>List/TOC or there is some other way around?
>>
>> Thanks,
>> Sergey
>>
>
> You can do it at least two ways.
>
> I think LyX 2.0 has a new feature which does what you want. Compile the
> master doc with "onclude only selected children" (see the Document >
> Settings > Child docs).
>
> Alternatively, put the BibTeX-generated bibliography in a branch in the
> child document, activate this branch in the child doc, and deactivate it in
> the master doc. This is the way most of us were doing this in LyX 1.6.
>
> --
> Julien
>
>


XeTeX fontspec error: font not found

2011-10-07 Thread Tao Cumplido
I wanted to use the linux libertine fonts with xetex but am getting
this error.

I am on Linux Mint 11 and installed the latest texlive manually
(previously I had an error with xetex and german as document language
which I resolved this way).
Then I tried to install the libertine otf fonts according to this
manual: http://community.linuxmint.com/tutorial/view/29

Lyx also recognizes the fonts but when I try to view the pdf I get
the error that font is not found. Also tried reconfiguring Lyx.

Regards,
Tao




Re: Index not printed

2011-10-07 Thread Hubert Christiaen
On friday 7 October 2011, Jürgen Spitzmüller wrote:
> I can't make much sense of that. Can you post the *.idx file at least?
The .idx file is of no use because it has been transformed to the raw-index 
file with entries in the 
form:
(indexentry :tkey (("eenheden") ("eenhedenstelsels")) :attr "hyperpage" :locref 
"13")
(indexentry :tkey (("eenheden") ("coherente eenheden")) :attr "hyperpage" 
:locref "14")
(indexentry :tkey (("MKS-stelsel")) :attr "hyperpage" :locref "14")

This is the result of tex2xindy run on the .idx file

Sincerely,
Hubert

-- 
Hubert Christiaen
Bloesemlaan 17
3360 Korbeek-Lo
Belgium


Re: Classic Thesis Bibliography in child document

2011-10-07 Thread Julien Rioux

On 07/10/2011 7:34 PM, Gian Maria Niccolò Benucci wrote:

Julien,

II got the same problem. I tried to include the Bibtex Bib in each single
Chapter but the references appear only if I compile the Chapter alone and
never when I try with the ClassicThesis.lyx
What do you exactly mean form "branch"?
Onward we go...

Thanks,

G.



Please read section 6.8 entitled Branches of the User's Guide, reachable 
from the Help menu.


Cheers,
Julien



Re: Problem Outputting Particular TIFF File

2011-10-07 Thread Jane Shevtsov
On Fri, Oct 7, 2011 at 6:51 AM, Paul A. Rubin  wrote:

>  I'd suggest that you download and install the current version of IM, put
> the main directory (containing convert.exe) on your system command path
> (needs to be in front of any Windows system directories, since Windows also
> has a program named 'convert'), maybe reconfigure LyX again just to be safe,
> and see if the mystery TIFF file converts properly.
>
>

I did as you suggested (installed IM version 6.7.2-10-Q16-windows-dll, which
is the one they recommend if you're not sure which to get, made sure it was
on the path, and reconfigured LyX) and am still getting the same error
message. How do you specify a converter?

Jane

-- 
-
Jane Shevtsov
Ecology Ph.D. candidate, University of Georgia
co-founder, www.worldbeyondborders.org

"All wars are civil wars, because all men are brothers... Each one owes
infinitely more to the human race than to the particular country in which he
was born." --Francois Fenelon, theologian and writer (1651-1715)


Re: reverse search sumatra xetex...maybe I am almost there...

2011-10-07 Thread Enrico Forestieri
dc writes:

> I have synchronize with output set to: \synctex=-1

Maybe miktex doesn't understand that? Please, try modifying the converter
from "xelatex $$i" to "xelatex --synctex=-1 $$i" and see whether forward
search works after that.

-- 
Enrico