abntcite

2009-08-23 Thread Beny Spira
Hi
I am using abntcite to format my bibliography, but it does not really comply
with the citing rules used at my university. For example, it shows the URL
and date of publication. I would like to eliminate these fields, but don't
know how. Any help would be appreciated.
Cheers,
Beny


Re: problem with bibliography

2009-07-29 Thread Beny Spira
Thanks to all that replied

It turned out the problem was in some references that contained URL with
special characteres. I deleted the URLs and the problem vanished.
Cheers,
Beny

On 07/28/2009 03:42 PM, Beny Spira wrote:
>
>> Hi
>>
>> I was using package abnt and got the following error:
>>
>> *TeX capacity exceeded, sorry [parameter stack size=6000].
>> *
>>
>> *
>> *
>>
>> * \begin{thebibliography}{19}*
>>
>> * *
>>
>> *If you really absolutely need more capacity,*
>>
>> *you can ask a wizard to enlarge me.*
>>
>>
>>
>> I read elsewhere that this kind of error is sometimes due to an open
>> parenthesis in the preamble. However, my preamble is very short and could
>> not find any problem there.
>>
>> When bibliography is removed the output is just fine.
>>
>> Any suggestion of what might be wrong?
>>
>>
>>
> Probably an error in the BibTeX file?
>
> rh
>
>


problem with bibliography

2009-07-28 Thread Beny Spira
Hi

I was using package abnt and got the following error:

*TeX capacity exceeded, sorry [parameter stack size=6000].
*

*
*

* \begin{thebibliography}{19}*

* *

*If you really absolutely need more capacity,*

*you can ask a wizard to enlarge me.*



I read elsewhere that this kind of error is sometimes due to an open
parenthesis in the preamble. However, my preamble is very short and could
not find any problem there.

When bibliography is removed the output is just fine.

Any suggestion of what might be wrong?

Beny


Re: truncated sections

2009-07-18 Thread Beny Spira
Hi JMarc

I would like to create a list that follows the order: 1.1.1, 1.12, 1.1.3 and
so on. I understand form your post that these are regarded as titles and a
long list of this kind is therefore forbidden. Is that right? Is there an
easy way to alter the code?

Thanks,

Beny

Le 16 juil. 09 à 16:47, Beny Spira a écrit :
>
>> No, it's not the ToC that run through the margins and get truncated. It is
>> the list of subsubsections that is truncated. For example, I have a list
>> of
>> 12 subsubsections that does not fit entirely in one page, the last let's
>> say
>> 3 or 4 entries should have continued into the next page of the DVI or PDF
>> export, but they are missing.
>>
>
> Subsection have special code to forbid page breaks after them (to avoid a
> title
> at the end of a page). They are designed for what you do? Why do you need
> this?
>
> JMarc




-- 
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Brasil
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: be...@usp.br
Homepage: www.icb.usp.br/~benys


Re: truncated sections

2009-07-16 Thread Beny Spira
Hi Marcelo

No, it's not the ToC that run through the margins and get truncated. It is
the list of subsubsections that is truncated. For example, I have a list of
12 subsubsections that does not fit entirely in one page, the last let's say
3 or 4 entries should have continued into the next page of the DVI or PDF
export, but they are missing.
Let me know if it is clear now or if you need any further information.

Thanks,

Beny





> > Hi there
> >
> > I am writing an extended CV with heaps of subsections and
> > subsubsections.
> > The problem is that every time the amount of
> > susbsubsections exceed a
> > certain number the list of subsubsections run though the
> > margins and is
> > truncated when exported to DVI or PDF.
> >
> > Is this a bug? If not, how can it be avoided?
> >
> > Thanks
> >
> > Beny
>
>  I don't understand. You say that Index or ToC run though the margins?
>
>
>
>  
> 
> ¡Viví la mejor experiencia en la web!
> Descargá gratis el nuevo Internet Explorer 8
> http://downloads.yahoo.com/ieak8/?l=ar
>


truncated sections

2009-07-16 Thread Beny Spira
Hi there

I am writing an extended CV with heaps of subsections and subsubsections.
The problem is that every time the amount of susbsubsections exceed a
certain number the list of subsubsections run though the margins and is
truncated when exported to DVI or PDF.

Is this a bug? If not, how can it be avoided?

Thanks

Beny


png to eps conversion problem

2004-07-06 Thread Beny Spira
Hi all
I am having a strange problem with the conversion of PNG figures to EPS. Latex 
message says there is no converter. I have installed Imagemagick and 
reconfigured lyx, but it still did not work. I am using the same lyx version 
(1.3.4) and OS (Mandrake 10.0) in other computer without problems. What might 
be wrong here?
Thank you in advance
Beny
-- 
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]


Re: costumization of italics

2004-04-30 Thread Beny Spira
> The perl man pages are pretty exhaustive. In fact, I don't think I've
> ever used anything else to learn the bit of perl I know.
> 
> I could try to translate this:
> 
>   perl
> -p   loop over all line in the file
> -e   use this expression
> 'needed as the argument contains e.g. spaces
>  s   substitute
>  :   some delimiter
>  word  the thing to be replaced
>  :   same delimiter
>  \n\\emph on\n word \n\\emph default\n the replacement
>  :   same delimiter
>  g   repeat if more than one instance
> 'closing quote

Thanks Andre
I still have a question about the script you sent. The script worked for
words that do not precede periods or commas, but when there is a period
or comma immediately following the word, the script does not recognize
it and there is not italicization of the word. Is there a wildcard that
might be added after the word?
Beny



-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: help with accents

2004-04-28 Thread Beny Spira


> Which program do you use at work and which one at home to send the
> documents? It's probably there that the problem lies. I think that the
> easiest thing to do would be to ZIP the file before sending. I think the
> mail program probably catalogs the .lyx extension as plain text or so, as
> it may not be declared to be binary, and so all characters above 127 are
> deleted.
> 
> Also, be sure not to include it in the mail as a text attachment. Text is
> not supposed to have accented characters.
> 
> If you use an extension known to be binary, it should go through well. I
> know there is a way to declare the .lyx extension as a binary mime, but I
> don't know how...
> 
> John

Yes, zipping the file prevented the disappearance of the characters.
Thanks
Beny

-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: help with accents

2004-04-27 Thread Beny Spira


> So, I understand that the document _did_ show correctly at your home, but
> was modified when you sent it back to your work. Is that correct? Or was
> it already missing characters when you worked on it at home?
> 
> If you lost the characters while sending the document, how did you send
> it? By FTP? If so, did you enable BINARY transmission?
> 
> John
> 

Hi John
The characters disappeared when the document was sent as an attachment
by e-mail from home to work. There was no problem when the same document
was sent before by e-mail from work to home. As Marc has already pointed
out, it seems that there is a problem with the locales, but I do not
know how to fix it. I do this kind of transfer (by e-mail) all the time
with other files (.doc, .sxw, .txt etc...), and it never happened
before. Any suggestions?
Beny

-- 
%%%%%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: costumization of italics

2004-04-27 Thread Beny Spira




On Ter, 2004-04-27 at 04:00, Andre Poenitz wrote:

An italized phrased looks like

\emph on
  phrase
\emph default

in a .lyx file. So 

   perl -pi -e 's: word :\n\\emph on\n word \n\\emph default\n:g' file.lyx

would modify file.lyx such that all occurences of 'word' will be
emphasized.

Be careful however and try a copy of your file first or use

   perl -p -e 's: word :\n\\emph on\n word \n\\emph default\n:g' file.lyx > file2.lyx

Andre'


Hi Andre
Your script worked perfectly 
Unfortunately, I do not understand anything about Perl and I would like to customize the script to do other kinds of changes. Could you recommend a site or book about making scripts in Perl? 
Thanks a lot
Beny



-- 
%%%%%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SP	CEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%






<>

Re: costumization of italics

2004-04-26 Thread Beny Spira
> If pressing two keys is too expensive (and I agree there are situations
> like that), maybe you should just write your document without any such
> markup and rather add it add the end using a simple script.
> 
> Andre'

Thanks Andre
Yes, it is indeed the case. I have to spend a lot of time pressing again
and again c^E. I would appreciate if you could explain me or suggest a
literature where I could learn about making a script for this task.
Beny

-- 
%%%%%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: help with accents

2004-04-26 Thread Beny Spira
> Could you post a (short) example lyx document that works on your home 
> machine and not on your work one.


Sure, but first i would like to make something clear. The original
document was written at work (with the ABTN2 keyboard), I continued to
work on it at home (english keyboard) and today I sent it back to work.
Then the problem with the accents appeared.
Here is a small sample of the output in lyx:
"H uma estrutura secundria de RNA localizada na regio intergenica entre
pstS e pstC, cuja presena foi demonstrada pela tcnica de extenso de
primer" 
But it should be:
"Há uma estrutura secundária de RNA localizada na região intergenica
entre pstS e pstC, cuja presença foi demonstrada pela técnica de
extensão de primer"

Beny

-- 
%%%%%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


help with accents

2004-04-26 Thread Beny Spira
I am writing a document at work and at home. At work my keyboard is
ABTN2 (brazilian keyboard layout) and at home is an english
(international) keyboard, so the position of the accents (~; ^; '; `) is
different in each keyboard. When the document was transferred to the
computer with the ABTN-2 keyboard, all letters that contain accents have
just disappeared (and there is a lot a such letters in portuguese). May
anyone help me to fix it out? I would not like to  go through the whole
document to spellcheck every word.
Thanx
Beny
-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


aspell dictionary

2004-04-16 Thread Beny Spira
Dear all
I am trying to use the spellchecker aspell for portuguese(br). The
spellchecker runs fine, but the dictionary is awful, it does not
recognize almost any word, even the ones that are very common in the
Portuguese language. The version of the dictionary is the most recent
one  (aspell-br-0.50.2). Is there a better aspell dictionary to use?
Beny
-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


aspell dicttionary

2004-04-14 Thread Beny Spira
Hi
The spellchecking with aspell for English works fine. However, i would
like to spellcheck a portuguese(brazil) document. Lyx gives the error
'The file "/usr/lib/aspell/brazil" cannot be opened for reading'. There
is not such a file in that dir or elsewhere. Where should set the lyx
configuration to look for the real name of the dict file?
Thanks
Beny
-- 
%%%%%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: myTitlePage

2004-04-14 Thread Beny Spira
> Well, if \renewcommand complains about an undefined macro, using
> \newcommand (or even \providecommand, or even \def) looks like a
> possible workaround.
> 
> Andre'
> 

I changed the line that started with \renewcommand to \newcommand.
The latex error disappeared but now there is no difference between the
report layout and  myTitlePage layout, that's it, I can't make a
personalized title page. I am probably doing something wrong, but I do
not know what. Any help?
Beny

-- 
%%%%%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


Re: myTitlePage

2004-04-13 Thread Beny Spira
I have done both texhash and reconfigure before I wrote to the list. It
seems that the problem is between lyx and  "myTitlePage" macro that is
shown below. As I wrote before, the error I got is: 
Latex Error: [EMAIL PROTECTED] undefined

[EMAIL PROTECTED]
{%

Have anyone tried to use this package? Is there a way to fix this
problem?
Beny

 
%%
%% This is file `myTitlePage.sty',
%
%% IMPORTANT NOTICE:
%%  \copyright by Herbert Voss 
%%
%% Any modified versions of this file must be renamed
%% with new filenames distinct from myTitlePage.sty.
%%
\def\filename{myTitlePage}
\def\fileversion{v0.1}
\def\filedate{2002/03/12}
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
\ProvidesPackage{\filename}%
[\filedate\space\fileversion\space Special Titlepage --- by
Herbert Voss]
[EMAIL PROTECTED]
\newpage
\null
\vskip 2em%
\let \footnote \thanks
{\begin{flushright}\large [EMAIL PROTECTED] \end{flushright}\par}%
\vskip 1.5em%
\begin{center}%
{\LARGE
\lineskip .5em%
\begin{tabular}[t]{c}%
[EMAIL PROTECTED]
\end{tabular}\par}%
\vskip 1em%
{\large [EMAIL PROTECTED]
\end{center}%
\par
\vskip 1.5em%
}
%end of input



On Seg, 2004-04-12 at 20:35, Marc Jeffrey Driftmeyer wrote:

> And don't forget that since you are putting styles, classes and packages 
> inside your local texmf/ directory you have to run texhash and let it update 
> and generate the ls-R index.
> 
> Debian: /usr/local/share/texmf
> 
> I run Edit->Reconfigure afterwards and it will work, when there is at least 
> preliminary support for your package, sty or cls file.
> 
> Example: memoir has cursory support, but something like resume.cls has zero 
> support.  I don't use LyX when I am writing a resume.  I utilize Kile and it 
> works great.
> 
> -Marc J. Driftmeyer
> 
> On Tuesday 13 April 2004 12:12 am, robin wrote:
> > Robert Orr wrote:
> > > I think you need to re-configure after putting the
> > > .sty file where LyX can find it.
> > >
> > > edit->reconfigure
> >
> > And maybe run texhash first?
> >
> > Robin
> >
> > > --- Beny Spira <[EMAIL PROTECTED]> wrote:
> > >>Hi
> > >> I am a newbie trying to use the "myTitlePage"
> > >>package created by
> > >>Herbert Voss in Lyx. I got the following latex error
> > >>when I put
> > >>\usepackage{myTitlePage} in the Preamble or tried to
> > >>implement it as a
> > >>new layout:
> > >>
> > >>Latex Error: [EMAIL PROTECTED] undefined
> > >>[EMAIL PROTECTED]
> > >>{%
> > >>
> > >>I don't have the slightest idea what might be wrong.
> > >>Have anyone tried
> > >>to use this package. Is there another way to
> > >>personalize a Title page?
> > >>thanks in advance
> > >>Beny
> > >>
> > >>--
> > >>%
> > >>Beny Spira
> > >>Departamento de Microbiologia
> > >>Instituto de Ciências Biomédicas
> > >>Universidade de São Paulo
> > >>Av. Prof. Lineu Prestes 1374
> > >>São Paulo-SP  CEP:05508-900
> > >>Tel: 5511-3091-7347
> > >>FAX: 5511-3091-7354
> > >>E-mail: [EMAIL PROTECTED]
> > >>%
> > >
> > > __
> > > Do you Yahoo!?
> > > Yahoo! Tax Center - File online by April 15th
> > > http://taxes.yahoo.com/filing.html

-- 
%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


myTitlePage

2004-04-12 Thread Beny Spira
Hi
 I am a newbie trying to use the "myTitlePage" package created by
Herbert Voss in Lyx. I got the following latex error when I put
\usepackage{myTitlePage} in the Preamble or tried to implement it as a
new layout:

Latex Error: [EMAIL PROTECTED] undefined
[EMAIL PROTECTED]
{%

I don't have the slightest idea what might be wrong. Have anyone tried
to use this package. Is there another way to personalize a Title page?
thanks in advance
Beny
 
-- 
%%%%%
Beny Spira
Departamento de Microbiologia
Instituto de Ciências Biomédicas
Universidade de São Paulo
Av. Prof. Lineu Prestes 1374
São Paulo-SPCEP:05508-900
Tel: 5511-3091-7347
FAX: 5511-3091-7354
E-mail: [EMAIL PROTECTED]
%


auto-correction

2004-03-19 Thread Beny Spira
Hi there
I am a linux/open-office user and I'd like to switch to lyx. However,
there is one important feature that I have not found in lyx so far, a
personalized auto-correction. In open-office/word it is possible to set
the an auto-correction for species names such as Homo sapiens. In this
case I write homosapiens and the editor translate it to Homo sapiens. I
went though the tutorial and user guide but couldn't find anything about
auto-correction. Is there an auto-correction feature in lyx? 
Thank you in advance
Beny