Search found 23 matches

by nphaibk
Thu Oct 09, 2014 2:31 pm
Forum: Graphics, Figures & Tables
Topic: gmp package not work
Replies: 4
Views: 4822

Re: gmp package not work

I managed to make it work.

mpost command in gmp package needs to be written in full path, for example:

"C:/somefolder/MikTex29/MikTex/bin/mpost"

(in the package, it is just "mpost").

This works with simple plot "draw (100,0)--(200,0)". For my example above, it still generates some error, but I ...
by nphaibk
Thu Oct 09, 2014 11:31 am
Forum: Graphics, Figures & Tables
Topic: gmp package not work
Replies: 4
Views: 4822

Re: gmp package not work

Thank you very much.

I have tried Texworks (built-in editor with Miktex) but received the same result.

Could you give some detailed guide for compiling the code via cmd line, I have never done with that, either Latex or Metapost. I am a Windows user.
by nphaibk
Wed Oct 08, 2014 6:08 am
Forum: Graphics, Figures & Tables
Topic: gmp package not work
Replies: 4
Views: 4822

gmp package not work

I am trying to just test how to use gmp package to plot images inside Latex.
However, only [MP] showed in the pdf.

I used Texstudio with Miktex29 (also tested with Texlive, same error).

I saw a message "mpost is not recognized as an internal or external command...". But I did configure the mpost ...
by nphaibk
Wed Oct 02, 2013 10:39 pm
Forum: LyX
Topic: Standalone Lyx
Replies: 2
Views: 3376

Re: Standalone Lyx

Thanks, it seems interesting to know, but I don't have right reset using CD.

However, Lyx does not seem to have what I need for the moment, just leave it.
by nphaibk
Wed Oct 02, 2013 1:25 pm
Forum: LyX
Topic: Standalone Lyx
Replies: 2
Views: 3376

Standalone Lyx

Hi,
Is that possible to create a standalone version of Lyx? and how to config with Texlive (also standalone)

(My company does not allow to install anything.)

I tried to copy the installed folder of Lyx2.0 from my PC to my work PC. Lyx opens but does not recognize any document class. Also, pressing ...
by nphaibk
Wed Mar 13, 2013 11:26 am
Forum: BibTeX, biblatex and biber
Topic: Automatic BibTeX run on each included File
Replies: 6
Views: 16072

Re: Automatic BibTeX run on each included File

Hello again,

With the suggested solution, my thesis went smoothly, however, I got an error

'bibtex needs exactly one argument'

when compiling normal documents. I mean with 1 bibliography for entire document. I have to change back to '%.aux'

Could somebody help to find a configuration that ...
by nphaibk
Tue Dec 11, 2012 10:06 pm
Forum: BibTeX, biblatex and biber
Topic: Automatic BibTeX run on each included File
Replies: 6
Views: 16072

Automatic BibTeX run on each included File


Thanks, looks wonderful. Did you try yourself? It did not work for me.

I also know that bibtex require only and only ONE parameter (i.e. one aux file) at a time. Here we need to compile the aux of the main file, then each chapter. Also, for TexStudio '*' does not mean 'every' like in DOS.

I ...
by nphaibk
Tue Dec 11, 2012 6:32 pm
Forum: BibTeX, biblatex and biber
Topic: Automatic BibTeX run on each included File
Replies: 6
Views: 16072

Automatic BibTeX run on each included File

Really? That's way too complicated for Texstudio.

It should bibtex-compile all aux files with the command:

bibtex ?a*.aux

?a means that it should look for the aux files in the current (absolute) directory

Thanks, looks wonderful. Did you try yourself? It did not work for me.

I also know ...
by nphaibk
Tue Dec 11, 2012 11:16 am
Forum: BibTeX, biblatex and biber
Topic: Automatic BibTeX run on each included File
Replies: 6
Views: 16072

Automatic BibTeX run on each included File

I solved this problem in TeXstudio (should be the same for TeXmaker), in four steps:

Creating a batch script named "bibtexbat.bat" containing this.
@ECHO off
IF (%1)==() GOTO end

FOR %%f in (%1\*.aux) DO bibtex %%f

@ECHO on
:end
Then place this .bat file into folder bin (e.g. C:\Program Files ...
by nphaibk
Mon Dec 10, 2012 11:21 pm
Forum: BibTeX, biblatex and biber
Topic: Automatic BibTeX run on each included File
Replies: 6
Views: 16072

Automatic BibTeX run on each included File

This question should be for advanced users! It may be a bit long before you get the question.


Problem:
When using multiple bibliographies, e.g. for each chapter in a book, we use packages chapterbib , multibib , or bibunits and use \include{chapter1} \include{chapter2} etc... with \bibliography ...