Re: Appendix issue

2012-12-13 Thread Uwe Stöhr

Am 07.12.2012 16:20, schrieb Richard Heck:


If you can send the documents to someone, me or Uwe, that will make figuring 
this out a lot easier.


Yes, we can only help you in your case by having a look at the files. Please zip them and remove 
anything that is not necessary to reproduce your problem.


regards Uwe


Re: acmsmall

2012-12-13 Thread Uwe Stöhr

Am 08.12.2012 00:13, schrieb osishkin osishkin:


However the bibliography looks screwed up and appears without any
numbers.


Assure that you use actually the ACM bst file. Thus click on the BibTeX inset. LyX will pop up a 
dialog where yiou select the BibTeX file and at the bottom you can select the style file. Note that 
BibTeX cannot handle accented characters. Therefore assure that both, the path to your .bib and the 
.bst-file does not contain accented characters and if possible also no spaces.


If this still does not help, refresh your MiKTeX "FNDB" in the MiKTeX settings. Afterwards 
reconfigure LyX.


See also this Wiki page:
http://wiki.lyx.org/Examples/AcmSigplan

regards Uwe


Re: Show line numbers in the sources

2012-12-13 Thread Uwe Stöhr

Am 13.12.2012 18:11, schrieb Gerhard Holzinger:


I would like to make a suggestion for a new feature.

When I try to compile a file using LyX and there is a syntax error, the LaTeX 
protocol tells me in
which line the error occurred. If there were line numbers displayed in the 
sources window, it would
give me a clue where in my LyX document the cause for this error is located.

What is your opinion on this, and what is the 'official' way to make a feature 
request?


+1 from me. To assure your suggestion is not lost, can you please open a new enhacement bug in our 
bug tracker:

http://www.lyx.org/trac/wiki/BugTrackerHome

thanks and regards
Uwe


Re: Show line numbers in the sources

2012-12-13 Thread Andrew Parsloe

On 14/12/2012 7:13 a.m., Alex Vergara Gil wrote:

Hello,
I would like to make a suggestion for a new feature.
When I try to compile a file using LyX and there is a syntax error,
the LaTeX protocol tells me in which line the error occurred. If there
were line numbers displayed in the sources window, it would give me a
clue where in my LyX document the cause for this error is located.

What is your opinion on this, and what is the 'official' way to make a
feature request?


+1 with this. Definitively there must be an enhacement on the LyX
debugger. This can save a lot of time of erasing_the_half common procedure.

Alex

One way of doing this is to view your LyX document in a text editor. In 
my view, the simplest way to do that is to go to Tools > Preferences > 
File Handling > File Formats, in the Format box, scroll down to LyX, and 
under Viewers choose Custom and in the adjacent slot enter your favoured 
text editor. I've entered notepad++. Then click Apply. In the Windows 
world you may have to let LyX know where to find it by adding the path 
to your text editor under Tools > Preferences > Paths and in the PATH 
prefix slot adding a semicolon and the path to your editor.


Now when you click on the View-other-formats button, View LyX should be 
available. Clicking on it should launch your text editor with the 
document displayed in native LyX format and, at least in notepad++, with 
line numbers down the side.


Andrew


Re: Pipe in FlexInset Names

2012-12-13 Thread Andrew Parsloe



On 12/12/2012 5:10 p.m., Richard Heck wrote:

On 12/11/2012 05:02 PM, Jean-Marc Lasgouttes wrote:

Le 11/12/12 23:00, Andrew Parsloe a écrit :

Thanks for the responses to this and my other custom inset queries
Richard. I've put in a bug report about ResetsFont in custom insets. I'm
going to continue to use the pipe symbol for its unintended purpose --
I've yet to see any deleterious side-effects and some deliberate
trying-to-break-it experimenting suggests Qt4 is fairly robust in the
way it handles inappropriate shortcut suggestions.


If you are ready to have your layout broken one day this is OK. Could
you give an example of the usefulness of this "trick"?


And I am sure we can find some way legitimately to provide the same
functionality in 2.1, which may not be insanely far away now.

rh



Good. I look forward to it.

Andrew


Re: Pipe in FlexInset Names

2012-12-13 Thread Andrew Parsloe

On 12/12/2012 11:02 a.m., Jean-Marc Lasgouttes wrote:

Le 11/12/12 23:00, Andrew Parsloe a écrit :

Thanks for the responses to this and my other custom inset queries
Richard. I've put in a bug report about ResetsFont in custom insets. I'm
going to continue to use the pipe symbol for its unintended purpose --
I've yet to see any deleterious side-effects and some deliberate
trying-to-break-it experimenting suggests Qt4 is fairly robust in the
way it handles inappropriate shortcut suggestions.


If you are ready to have your layout broken one day this is OK. Could
you give an example of the usefulness of this "trick"?

JMarc



I've created a system (to be launched on the world 'soon') where python 
scripts can be launched from within LyX using the converter mechanism, 
but more conveniently. You insert a custom inset from the Insert > 
Custom Insets list. The inset name visible to the user might be, say, 
'calculate formula'. The part of the name after the pipe symbol and 
invisible to the user is the name of the python script (perhaps 
calcul8.py) that does the calculating. In LyX format in a document it 
produces the line '\begin_inset Flex:calculate formula|calcul8'. A 
master script scanning the document can thus find which specific script 
to call to perform the desired action from the name alone, rather than 
having to keep a separate dictionary associating inset names with script 
names (which is how I did things before).


Andrew


Re: Show line numbers in the sources

2012-12-13 Thread Alex Vergara Gil

Hello,
I would like to make a suggestion for a new feature.
When I try to compile a file using LyX and there is a syntax error, the 
LaTeX protocol tells me in which line the error occurred. If there were 
line numbers displayed in the sources window, it would give me a clue 
where in my LyX document the cause for this error is located.


What is your opinion on this, and what is the 'official' way to make a 
feature request?


+1 with this. Definitively there must be an enhacement on the LyX debugger. 
This can save a lot of time of erasing_the_half common procedure.


Alex



Show line numbers in the sources

2012-12-13 Thread Gerhard Holzinger

Hello,

I would like to make a suggestion for a new feature.


When I try to compile a file using LyX and there is a syntax error, the 
LaTeX protocol tells me in which line the error occurred. If there were 
line numbers displayed in the sources window, it would give me a clue 
where in my LyX document the cause for this error is located.


What is your opinion on this, and what is the 'official' way to make a 
feature request?




Kind regards,

Gerhard


Re: Using LyX to edit & organise bibliographies

2012-12-13 Thread Nico Williams
On Thu, Dec 13, 2012 at 5:58 AM, Eric Weir  wrote:
> On Apr 20, 2012, at 11:23 AM, stefano franchi wrote:
>> Moreover, it is not even clear that BibTeX will remain the only
>> database format for TeX users. Biber, a much more flexible and heavily
>> developed BibTeX replacement, is starting to integrate other formats
>> (such as EndNote). One more reason, in my opinion, to keep LyX away
>> from these complexities.
>
> Late coming to this topic, but I've been wondering about exploiting Zotero 
> for reference, citation, and bibliography management. I'm familiar with some 
> work that's been done on this 
>  but 
> perhaps there have been other developments elsewhere.

While we're on the subject of bibliography...

 - Please see bibutils, a tool that uses XML as an intermediate format
so it can convert between a any two of a large number of biblio
formats.

 - It'd be nice if LyX supported remote (HTTP) bib repos.  This makes
picking references harder, but it's worthwhile.

 - It'd be nice if LyX supported using bibutils so as to consume any
of the formats supported by bibutils.

Nico
--


Re: APA6 class with LyX?

2012-12-13 Thread John Kane





 From: Denis J Navas 
To: lyx-users@lists.lyx.org 
Sent: Wednesday, December 12, 2012 10:23:16 PM
Subject: Re: APA6 class with LyX?
 

"John Kane"  escribió en el mensaje de 
noticias:1355320240.2678.yahoomail...@web162406.mail.bf1.yahoo.com...


 


 From: Uwe Stöhr 

To: obregonma...@gmail.com 
Cc: lyx-users@lists.lyx.org 
Sent: Monday, December 10, 2012 7:34:36 PM
Subject: Re: APA6 class with 
LyX?

Am 11.12.2012 01:14, schrieb obregonma...@gmail.com:

> 
Each APA-type journal has its own list of document types that it accepts; these 
journals are only guided by the APA _style_ conventions. All journals in 
psychology etc. that I have come across accept tex manuscripts, as long as the 
tex file contains everything the authors use (i.e., macros) and do not rely on 
any special latex compiling instructions.

Thanks for the clarification. 
So a layout for APA  6 is indeed useful.  However, I won't have time 
to write it and hope that anybody else can volunteer. if you like, I can review 
the layout.

thanks and regards
Uwe

Hi Uwe,

That would be 
great. I am not sure that I have enough knowledge to help but I certainly would 
consider it.

One of the reasons I first asked about this was not so much 
about direct submission for publication though that is very important--the APA 
5th Manual says that over a 1000 non-APA journals use the Manual but because 
every psychology student in North America and from what I see, in at least most 
of the English-speaking psychological world uses it in preparing papers plus 
French speaking students in Québec. There are suggestions here and there that 
the style is used in several (many?) other languages .  This also seems to 
extend to Education, Nursing  and a host of other social science 
disciplines that I am not familiar with.

Essentially a paper for these 
students must conform pretty much exactly to the equivalent of 
\documentclass[man,12pt]{apa6}.  I don't know know if there is a 
hard-science or math equivalent: Perhaps all undergraduate math student 
assignments need to match AMA formatting guidelines?   

At a 
rough guess, students in my city with a community college, one small and one 
medium sized unviersty probably submit 5,000 APA formatted papers each year. 
Also, as others have mentioned, with a bit of minor tweaking APA sets the style 
for theses or disertations in a broad range of disciplines.  Come to think 
of it, other disciplinces with less stringent stylistic demands may well be 
very 
happy with \documentclass[doc,12pt]{apa6}.

So my thought was let's catch 
them while they are young. From my own experience and talking to some current 
students using APA can be a real hassle and a decent apa6 option in LyX would 
likely be a real crowd pleaser, especially once they learned about bibtex.  





Universities here in Nicaragua, use APA style for thesis.
 
Denis J Navas
Thanks.
I think I may start some kind of list about who used APA style around the 
world.  Unfortunately I only sead Englsih and French so tracking down uses in 
other languages may be a problem. 

Re: Using LyX to edit & organise bibliographies

2012-12-13 Thread Eric Weir

On Apr 20, 2012, at 11:23 AM, stefano franchi wrote:

> Moreover, it is not even clear that BibTeX will remain the only
> database format for TeX users. Biber, a much more flexible and heavily
> developed BibTeX replacement, is starting to integrate other formats
> (such as EndNote). One more reason, in my opinion, to keep LyX away
> from these complexities.

Late coming to this topic, but I've been wondering about exploiting Zotero for 
reference, citation, and bibliography management. I'm familiar with some work 
that's been done on this 
 but 
perhaps there have been other developments elsewhere.

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

"The most important thing is the tee-shirt."

Samara Alnafdage