You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let url = tectonic_bundles::get_fallback_bundle_url(tectonic_engine_xetex::FORMAT_SERIAL);
PersistentConfig{
default_bundles:vec![BundleInfo{ url }],
}
}
}
The source listed above is acceptable for daily usage, but for users in an internal network without access to internet, they may use mirrors or local copy for bundles. However, the command tectonic -X new or tectonic -X init themselves are default using the hard-coded bundle url to complete initiation, which is meant if the default url is not accessible then the initiation won't be accomplished (usually we waits for minutes and then it throws connection errors and fails).
In the V1 cli, it provides --web-bundle to override the default, but in the newer V2 cli, the option is absent. If we provide the option for tectonic -X new and tectonic -X init, it may be nicer for people unable to access the default bundle url.
The text was updated successfully, but these errors were encountered:
Yes, this is a good point. This should be a fairly straightforward improvement for someone new to the project to implement, I'd hope, so I'll tag as such!
When we use
tectonic -X new
ortectonic -X init
to initiate projects, the output is as follows.It seems that the url is hard coded in
tectonic/crates/bundles/src/lib.rs
Lines 114 to 122 in 8bf8da7
and the config is default using that source
tectonic/src/config.rs
Lines 194 to 202 in 8bf8da7
The source listed above is acceptable for daily usage, but for users in an internal network without access to internet, they may use mirrors or local copy for bundles. However, the command
tectonic -X new
ortectonic -X init
themselves are default using the hard-coded bundle url to complete initiation, which is meant if the default url is not accessible then the initiation won't be accomplished (usually we waits for minutes and then it throws connection errors and fails).In the V1 cli, it provides
--web-bundle
to override the default, but in the newer V2 cli, the option is absent. If we provide the option fortectonic -X new
andtectonic -X init
, it may be nicer for people unable to access the default bundle url.The text was updated successfully, but these errors were encountered: