Git Product home page Git Product logo

Comments (11)

msiniscalchi avatar msiniscalchi commented on August 15, 2024

It's on my TODO list. But, it's not a quick fix. Right now the code
just rescans the current file, which is very fast. I am afraid that,
in a serious multi-file project, that won't be a good idea. So, there
needs to be some caching... bottom line: it may be a bit complicated
to implement. But, again, it's definitely an important component of of
good multi-file support, so I'll get back to it when I have some more
time.

On Fri, Nov 4, 2011 at 5:16 PM, ratberryjam
[email protected]
wrote:

Is this possible? In a multi-file project the "ref_" auto-complete-thing isn't quite enough.

Thanks.


Reply to this email directly or view it on GitHub:
#9

Marciano Siniscalchi
Economics Department, Northwestern University
http://faculty.wcas.northwestern.edu/~msi661

from latextools.

msiniscalchi avatar msiniscalchi commented on August 15, 2024

BTW if you haven't done so yet, please open this as an "Issue" on
github (I'm replying from gmail, so I havent' check if you have done
so or not). This way I can keep track of this. Thanks!

On Sun, Nov 6, 2011 at 12:44 PM, Marciano Siniscalchi
[email protected] wrote:

It's on my TODO list. But, it's not a quick fix. Right now the code
just rescans the current file, which is very fast. I am afraid that,
in a serious multi-file project, that won't be a good idea. So, there
needs to be some caching... bottom line: it may be a bit complicated
to implement. But, again, it's definitely an important component of of
good multi-file support, so I'll get back to it when I have some more
time.

On Fri, Nov 4, 2011 at 5:16 PM, ratberryjam
[email protected]
wrote:

Is this possible? In a multi-file project the "ref_" auto-complete-thing isn't quite enough.

Thanks.


Reply to this email directly or view it on GitHub:
#9

Marciano Siniscalchi
Economics Department, Northwestern University
http://faculty.wcas.northwestern.edu/~msi661

Marciano Siniscalchi
Economics Department, Northwestern University
http://faculty.wcas.northwestern.edu/~msi661

from latextools.

fnurl avatar fnurl commented on August 15, 2024

Perhaps a TeXShop like comment in the beginning of each file would work? E.g.

%!TEX bibliography = /path/to/bibfile.bib

from latextools.

fnurl avatar fnurl commented on August 15, 2024

sorry... I was thinking of citations, not references. Is the fix for citations possible?

from latextools.

msiniscalchi avatar msiniscalchi commented on August 15, 2024

Just a thought: for citations, as long as the \bibliography command is in the master file, this could be easily added. Again, I'll see what I can do.

from latextools.

ratberryjam avatar ratberryjam commented on August 15, 2024

That would also be great!

from latextools.

sfahmy avatar sfahmy commented on August 15, 2024

Just to say this would be very useful for me too. Currently, a bilbiography in the master file isn't scanned when invoking cite_ in a โ€œsubfileโ€.

On the multifile references, what about rescanning only open files as a start? I usually invoke subl -n *.tex in my working directory, and have no more than 5 or 6 files, one per paper section. This just helps me work with co-authors with minimal conflicts. This would avoid having to scan the local directory and find files that share the same master, etc.

Love the package!

from latextools.

Schabernack avatar Schabernack commented on August 15, 2024

In Texmaker you can define one file as a Masterfile. Couldn't this be also used in this case? Another advantage is, that you can trigger the build process from every file belonging to the project and you don't have to return to the parent file manually.

from latextools.

fnurl avatar fnurl commented on August 15, 2024

Actually, you can also define a Masterfile using the LaTeXTools bundle using TeXShop syntax. Just have the following comment in the beginning of your .tex file.

%!TEX root = <path to master file>

from latextools.

msiniscalchi avatar msiniscalchi commented on August 15, 2024

Yes, but the !TEX directory is not used for citation completion. That's on my TODO list.

from latextools.

msiniscalchi avatar msiniscalchi commented on August 15, 2024

Now supported, closing.

from latextools.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.